From 243f58f2fc107603a781678682cdfd8bd8570e2a Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 24 Apr 2009 14:08:55 +0100 Subject: resindvd: Remove redundant modulo operation in the demuxer --- ext/resindvd/gstmpegdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/resindvd') 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: -- cgit v1.2.1