diff options
author | Peter Ross <pross@xvid.org> | 2011-04-23 22:09:19 +1000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-24 03:53:23 +0200 |
commit | c2a8f125855aef72efcde8a06dd73a5fbe5dcf25 (patch) | |
tree | 8a9d1de31f037fbcc6f43f88738e630a8b596f09 | |
parent | db62d898330664a9b69ba5a1feee18338bb00852 (diff) | |
download | ffmpeg-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.c | 2 |
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) |