diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-06-29 16:23:15 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-06-29 16:23:15 +0200 |
commit | 5a458420e2fb804c8995db8c2936a9974c46678c (patch) | |
tree | 82530cd9f086b7367836cccb6011105827f3f04d /libavformat/asfdec.c | |
parent | 45441eb0f643823c1f9edb7ee6724d70b2e36c1f (diff) | |
download | ffmpeg-5a458420e2fb804c8995db8c2936a9974c46678c.tar.gz |
lavf/asfdec: Reduce minimum header size.
Fixes GipsyGuitar.wmv mentioned in ticket #1477.
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r-- | libavformat/asfdec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index a8cae5658e..db8791e980 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) */ |