projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c70f171
)
SWF sanity check patch by (Glyn Kennington <glyn dot kennington at ox dot compsoc...
author
Glyn Kennington
<glyn.kennington@ox.compsoc.net>
Fri, 5 Dec 2003 00:41:58 +0000
(
00:41
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 5 Dec 2003 00:41:58 +0000
(
00:41
+0000)
Originally committed as revision 2565 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/swf.c
patch
|
blob
|
history
diff --git
a/libavformat/swf.c
b/libavformat/swf.c
index
b19d664
..
e9999f4
100644
(file)
--- a/
libavformat/swf.c
+++ b/
libavformat/swf.c
@@
-481,6
+481,8
@@
static int swf_read_header(AVFormatContext *s, AVFormatParameters *ap)
get_byte(pb);
v = get_byte(pb);
get_le16(pb);
+ if (len!=4)
+ url_fskip(pb,len-4);
/* if mp3 streaming found, OK */
if ((v & 0x20) != 0) {
st = av_new_stream(s, 0);