[Ffmpeg-cvslog] r7408 - trunk/libavformat/swf.c
bcoudurier
subversion
Fri Jan 5 15:17:41 CET 2007
Author: bcoudurier
Date: Fri Jan 5 15:17:41 2007
New Revision: 7408
Modified:
trunk/libavformat/swf.c
Log:
dont skip too many bytes if tag is TAG_STREAMHEAD2 and mp3
Modified: trunk/libavformat/swf.c
==============================================================================
--- trunk/libavformat/swf.c (original)
+++ trunk/libavformat/swf.c Fri Jan 5 15:17:41 2007
@@ -822,13 +822,10 @@
get_byte(pb);
v = get_byte(pb);
swf->samples_per_frame = get_le16(pb);
- if (len!=4)
+ if (len > 4)
url_fskip(pb,len-4);
/* if mp3 streaming found, OK */
if ((v & 0x20) != 0) {
- if ( tag == TAG_STREAMHEAD2 ) {
- get_le16(pb);
- }
ast = av_new_stream(s, 1);
if (!ast)
return -ENOMEM;
More information about the ffmpeg-cvslog
mailing list