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 _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog