summaryrefslogtreecommitdiffstats
path: root/ext/resindvd
diff options
context:
space:
mode:
Diffstat (limited to 'ext/resindvd')
-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: