# HG changeset patch # User kostya # Date 1266617404 0 # Node ID bbbedc311b93da07a57129cf60b3b41d10a57c7d # Parent 1f89b2117edf8ca6099a0e65514895c2e32687f5 Make Bink demuxer skip all zero audio tracks, not only the first one diff -r 1f89b2117edf -r bbbedc311b93 bink.c --- a/bink.c Fri Feb 19 21:12:46 2010 +0000 +++ b/bink.c Fri Feb 19 22:10:04 2010 +0000 @@ -197,7 +197,7 @@ bink->current_track = 0; } - if (bink->current_track < bink->num_audio_tracks) { + while (bink->current_track < bink->num_audio_tracks) { uint32_t audio_size = get_le32(pb); if (audio_size > bink->remain_packet_size - 4) { av_log(s, AV_LOG_ERROR,