[FFmpeg-cvslog] lavf/asfdec: Reduce minimum header size.

Carl Eugen Hoyos git at videolan.org
Mon Jun 29 17:41:00 CEST 2015


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Mon Jun 29 16:23:15 2015 +0200| [5a458420e2fb804c8995db8c2936a9974c46678c] | committer: Carl Eugen Hoyos

lavf/asfdec: Reduce minimum header size.

Fixes GipsyGuitar.wmv mentioned in ticket #1477.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5a458420e2fb804c8995db8c2936a9974c46678c
---

 libavformat/asfdec.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index a8cae56..db8791e 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -132,8 +132,9 @@ static const AVClass asf_class = {
 #include <assert.h>
 
 #define ASF_MAX_STREAMS 127
-#define FRAME_HEADER_SIZE 11
-// Fix Me! FRAME_HEADER_SIZE may be different. (17 is known to be too large)
+#define FRAME_HEADER_SIZE 6
+// Fix Me! FRAME_HEADER_SIZE may be different.
+// (7 is known to be too large for GipsyGuitar.wmv)
 
 #ifdef DEBUG
 static const ff_asf_guid stream_bitrate_guid = { /* (http://get.to/sdp) */



More information about the ffmpeg-cvslog mailing list