[FFmpeg-cvslog] r24354 - trunk/libavformat/asfdec.c

mstorsjo subversion
Tue Jul 20 15:08:10 CEST 2010


Author: mstorsjo
Date: Tue Jul 20 15:08:10 2010
New Revision: 24354

Log:
asfdec: 10l, fix the minimum asf video stream header size

This fixes the regression test breakage.

Modified:
   trunk/libavformat/asfdec.c

Modified: trunk/libavformat/asfdec.c
==============================================================================
--- trunk/libavformat/asfdec.c	Tue Jul 20 14:54:43 2010	(r24353)
+++ trunk/libavformat/asfdec.c	Tue Jul 20 15:08:10 2010	(r24354)
@@ -362,7 +362,7 @@ static int asf_read_header(AVFormatConte
                     break;
                 }
             } else if (type == AVMEDIA_TYPE_VIDEO &&
-                       gsize - (url_ftell(pb) - pos1 + 24) >= 53) {
+                       gsize - (url_ftell(pb) - pos1 + 24) >= 51) {
                 get_le32(pb);
                 get_le32(pb);
                 get_byte(pb);



More information about the ffmpeg-cvslog mailing list