aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2011-04-23 22:09:19 +1000
committerMichael Niedermayer <michaelni@gmx.at>2011-04-24 03:53:23 +0200
commitc2a8f125855aef72efcde8a06dd73a5fbe5dcf25 (patch)
tree8a9d1de31f037fbcc6f43f88738e630a8b596f09
parentdb62d898330664a9b69ba5a1feee18338bb00852 (diff)
downloadffmpeg-c2a8f125855aef72efcde8a06dd73a5fbe5dcf25.tar.gz
EA cdata demuxer: support files with 20 byte header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/eacdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/eacdata.c b/libavformat/eacdata.c
index b00137582c..c8999c6b23 100644
--- a/libavformat/eacdata.c
+++ b/libavformat/eacdata.c
@@ -63,7 +63,7 @@ static int cdata_read_header(AVFormatContext *s, AVFormatParameters *ap)
};
sample_rate = avio_rb16(pb);
- avio_skip(pb, 12);
+ avio_skip(pb, (avio_r8(pb) & 0x20) ? 15 : 11);
st = av_new_stream(s, 0);
if (!st)