summaryrefslogtreecommitdiff
path: root/libavformat/asfdec.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-07-20 13:08:10 +0000
committerMartin Storsjö <martin@martin.st>2010-07-20 13:08:10 +0000
commitd970ec75549d7b471a6af1fcd86fb65961b1068e (patch)
tree42e6baabd04728fca9fd8519b7c0fb8b53a0c331 /libavformat/asfdec.c
parentffe72624e73d4fb27477e407a3e5b50b1a707e21 (diff)
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
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r--libavformat/asfdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 840c1864a5..f219390a4d 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);