Hi!

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
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
-#define FRAME_HEADER_SIZE 11
+#define FRAME_HEADER_SIZE 6
 // Fix Me! FRAME_HEADER_SIZE may be different. (17 is known to be too large)
 
 #ifdef DEBUG
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to