summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-04-24 14:08:55 +0100
committerDave Robillard <dave@drobilla.net>2009-05-03 12:03:19 -0400
commit0d2115cee1d918332bfc08501c27b7c3b02711df (patch)
tree2725dc3a31ad20c6235db2178e3608f1f19a64bd
parentf885f344e5c3b8304c5b6ccc01f5f21958a17bcc (diff)
downloadgst-plugins-bad-0d2115cee1d918332bfc08501c27b7c3b02711df.tar.gz
gst-plugins-bad-0d2115cee1d918332bfc08501c27b7c3b02711df.tar.bz2
gst-plugins-bad-0d2115cee1d918332bfc08501c27b7c3b02711df.zip
resindvd: Remove redundant modulo operation in the demuxer
-rw-r--r--ext/resindvd/gstmpegdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/resindvd/gstmpegdemux.c b/ext/resindvd/gstmpegdemux.c
index cc37ec4e..91ffad14 100644
--- a/ext/resindvd/gstmpegdemux.c
+++ b/ext/resindvd/gstmpegdemux.c
@@ -735,7 +735,7 @@ gst_flups_demux_handle_dvd_event (GstFluPSDemux * demux, GstEvent * event)
stream_id %= MAX_DVD_AUDIO_STREAMS;
- aud_type = demux->audio_stream_types[stream_id % MAX_DVD_AUDIO_STREAMS];
+ aud_type = demux->audio_stream_types[stream_id];
switch (aud_type) {
case 0x0: