diff options
author | Peter Ross <pross@xvid.org> | 2011-04-23 16:09:19 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-24 05:53:23 +0400 |
commit | c2a8f125855aef72efcde8a06dd73a5fbe5dcf25 (patch) | |
tree | 8a9d1de31f037fbcc6f43f88738e630a8b596f09 /libavformat/eacdata.c | |
parent | db62d898330664a9b69ba5a1feee18338bb00852 (diff) |
EA cdata demuxer: support files with 20 byte header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/eacdata.c')
-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) |