asfdec: 10l, fix the minimum asf video stream header size
authorMartin Storsjö <martin@martin.st>
Tue, 20 Jul 2010 13:08:10 +0000 (13:08 +0000)
committerMartin Storsjö <martin@martin.st>
Tue, 20 Jul 2010 13:08:10 +0000 (13:08 +0000)
This fixes the regression test breakage.

Originally committed as revision 24354 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/asfdec.c

index 840c186..f219390 100644 (file)
@@ -362,7 +362,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
                     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);