[FFmpeg-cvslog] avcodec/qdrw: cleanup skip code
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed May 13 22:14:11 CEST 2015
Michael Niedermayer <git <at> videolan.org> writes:
> + while ( bytestream2_get_bytes_left(&gbc) >= 552
> + && ( !AV_RB16(&avpkt->data[bytestream2_tell(&gbc)+6])
> + || !AV_RB16(&avpkt->data[bytestream2_tell(&gbc)+8])))
The first 512 bytes are "reserved for your application".
I don't think anything requires them to be 0.
After your patch, valid files will be auto-detected
but not decoded.
Carl Eugen
More information about the ffmpeg-cvslog
mailing list