projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffe7262
)
asfdec: 10l, fix the minimum asf video stream header size
author
Martin Storsjö
<martin@martin.st>
Tue, 20 Jul 2010 13:08:10 +0000
(13:08 +0000)
committer
Martin 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
patch
|
blob
|
history
diff --git
a/libavformat/asfdec.c
b/libavformat/asfdec.c
index
840c186
..
f219390
100644
(file)
--- 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) >= 5
3
) {
+ gsize - (url_ftell(pb) - pos1 + 24) >= 5
1
) {
get_le32(pb);
get_le32(pb);
get_byte(pb);