[FFmpeg-devel] [PATCH]lavf/mov: Support alac extradata in wave atom v2
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Aug 17 21:59:56 CEST 2015
Michael Niedermayer <michael <at> niedermayer.cc> writes:
> + ffio_ensure_seekback(pb, 8);
> + buffer = avio_rb64(pb);
> + atom.size -= 8;
> + if ( (buffer & 0xFFFFFFFF) == MKBETAG('f','r','m','a')
> + && buffer >> 32 <= atom.size
> + && buffer >> 32 >= 8) {
> + avio_skip(pb, - 8);
> + atom.size += 8;
I tested that QT expects the frma atom first
in the wave atom, so this variant is ok as
far as I can tell.
Thank you, Carl Eugen
More information about the ffmpeg-devel
mailing list