[FFmpeg-cvslog] r21908 - trunk/libavformat/bink.c

kostya subversion
Fri Feb 19 23:10:04 CET 2010


Author: kostya
Date: Fri Feb 19 23:10:04 2010
New Revision: 21908

Log:
Make Bink demuxer skip all zero audio tracks, not only the first one

Modified:
   trunk/libavformat/bink.c

Modified: trunk/libavformat/bink.c
==============================================================================
--- trunk/libavformat/bink.c	Fri Feb 19 22:34:50 2010	(r21907)
+++ trunk/libavformat/bink.c	Fri Feb 19 23:10:04 2010	(r21908)
@@ -197,7 +197,7 @@ static int read_packet(AVFormatContext *
         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,



More information about the ffmpeg-cvslog mailing list