[SCM] libav/experimental: Make Bink demuxer skip all zero audio tracks, not only the first one
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:00:36 UTC 2013
The following commit has been merged in the experimental branch:
commit 8cdfa4747bb3ccfd12367e1f41d9504669396acf
Author: Kostya Shishkov <kostya.shishkov at gmail.com>
Date: Fri Feb 19 22:10:04 2010 +0000
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
diff --git a/libavformat/bink.c b/libavformat/bink.c
index 7d69387..5822875 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,
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list