diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2010-02-19 22:10:04 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2010-02-19 22:10:04 +0000 |
commit | 8cdfa4747bb3ccfd12367e1f41d9504669396acf (patch) | |
tree | cbd012e726f767b276349e204a9014618b1c0df2 /libavformat | |
parent | 7fa78f49f0909b1efa7e74980ba5789b4daf8681 (diff) | |
download | ffmpeg-8cdfa4747bb3ccfd12367e1f41d9504669396acf.tar.gz |
Make Bink demuxer skip all zero audio tracks, not only the first one
Originally committed as revision 21908 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/bink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/bink.c b/libavformat/bink.c index 7d69387deb..5822875356 100644 --- a/libavformat/bink.c +++ b/libavformat/bink.c @@ -197,7 +197,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) 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, |