summaryrefslogtreecommitdiff
path: root/ext/resindvd/gstmpegdemux.c
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-04-24 14:08:55 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-04-29 21:02:16 +0100
commit243f58f2fc107603a781678682cdfd8bd8570e2a (patch)
tree79593cec6f3de5d83f0cbb97f101338ff4ae81e3 /ext/resindvd/gstmpegdemux.c
parenteedf3131564c59e1c026cba7ab104c31df2fb6db (diff)
downloadgstreamer-plugins-bad-243f58f2fc107603a781678682cdfd8bd8570e2a.tar.gz
resindvd: Remove redundant modulo operation in the demuxer
Diffstat (limited to 'ext/resindvd/gstmpegdemux.c')
-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 cc37ec4ea..91ffad14c 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: