[Ffmpeg-cvslog] CVS: ffmpeg/libavformat avidec.c,1.88,1.89

Konstantin Shishkov CVS kostya
Thu Apr 6 05:33:13 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv13390

Modified Files:
	avidec.c 
Log Message:
Fix demuxing of AVIs with pad streams.


Index: avidec.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/avidec.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- avidec.c	2 Mar 2006 14:50:31 -0000	1.88
+++ avidec.c	6 Apr 2006 03:33:10 -0000	1.89
@@ -290,6 +290,9 @@
 
             if (stream_index >= s->nb_streams) {
                 url_fskip(pb, size - 8);
+                /* ignore padding stream */
+                if (tag1 == MKTAG('p', 'a', 'd', 's'))
+                    stream_index--;
                 break;
             }
             st = s->streams[stream_index];





More information about the ffmpeg-cvslog mailing list