mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-21 09:53:47 +00:00
resindvd: Remove redundant modulo operation in the demuxer
This commit is contained in:
parent
eedf313156
commit
243f58f2fc
1 changed files with 1 additions and 1 deletions
|
@ -735,7 +735,7 @@ gst_flups_demux_handle_dvd_event (GstFluPSDemux * demux, GstEvent * event)
|
||||||
|
|
||||||
stream_id %= MAX_DVD_AUDIO_STREAMS;
|
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) {
|
switch (aud_type) {
|
||||||
case 0x0:
|
case 0x0:
|
||||||
|
|
Loading…
Reference in a new issue