diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2009-04-24 14:08:55 +0100 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-04-29 21:02:16 +0100 |
commit | 243f58f2fc107603a781678682cdfd8bd8570e2a (patch) | |
tree | 79593cec6f3de5d83f0cbb97f101338ff4ae81e3 /ext | |
parent | eedf3131564c59e1c026cba7ab104c31df2fb6db (diff) | |
download | gst-plugins-bad-243f58f2fc107603a781678682cdfd8bd8570e2a.tar.gz gst-plugins-bad-243f58f2fc107603a781678682cdfd8bd8570e2a.tar.bz2 gst-plugins-bad-243f58f2fc107603a781678682cdfd8bd8570e2a.zip |
resindvd: Remove redundant modulo operation in the demuxer
Diffstat (limited to 'ext')
-rw-r--r-- | ext/resindvd/gstmpegdemux.c | 2 |
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: |