Commit 5a458420 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/asfdec: Reduce minimum header size.

Fixes GipsyGuitar.wmv mentioned in ticket #1477.
parent 45441eb0
...@@ -132,8 +132,9 @@ static const AVClass asf_class = { ...@@ -132,8 +132,9 @@ static const AVClass asf_class = {
#include <assert.h> #include <assert.h>
#define ASF_MAX_STREAMS 127 #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) // Fix Me! FRAME_HEADER_SIZE may be different.
// (7 is known to be too large for GipsyGuitar.wmv)
#ifdef DEBUG #ifdef DEBUG
static const ff_asf_guid stream_bitrate_guid = { /* (http://get.to/sdp) */ static const ff_asf_guid stream_bitrate_guid = { /* (http://get.to/sdp) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment