[SCM] libav/experimental: asfdec: 10l, fix the minimum asf video stream header size

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:11:54 UTC 2013


The following commit has been merged in the experimental branch:
commit d970ec75549d7b471a6af1fcd86fb65961b1068e
Author: Martin Storsjö <martin at martin.st>
Date:   Tue Jul 20 13:08:10 2010 +0000

    asfdec: 10l, fix the minimum asf video stream header size
    
    This fixes the regression test breakage.
    
    Originally committed as revision 24354 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 840c186..f219390 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list