[FFmpeg-devel] [PATCH]asfdec: Reduce minimum header size (was: New asf demuxer)

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jun 29 10:11:11 CEST 2015


I finally found an issue that is fixed with the new asf demuxer:
Video in ​http://samples.ffmpeg.org/V-codecs/MSS1/GipsyGuitar.wmv 
freezes for ten seconds after 110 seconds, this does not happen 
with -f asf_o.
Attached patch fixes this issue, fate passes, no other sample 
tested with the patch applied.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index a8cae56..ed33828 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -132,7 +132,7 @@ static const AVClass asf_class = {
 #include <assert.h>
 #define ASF_MAX_STREAMS 127
 // Fix Me! FRAME_HEADER_SIZE may be different. (17 is known to be too large)
 #ifdef DEBUG

More information about the ffmpeg-devel mailing list