Commit c2a8f125 authored by Peter Ross's avatar Peter Ross Committed by Michael Niedermayer

EA cdata demuxer: support files with 20 byte header

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent db62d898
......@@ -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)
......
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