Michael Niedermayer <michaelni <at> gmx.at> writes: > > if ( bytestream2_get_bytes_left(&gbc) >= 552 > > - && !check_header(gbc.buffer , > > bytestream2_get_bytes_left(&gbc)) > > - && check_header(gbc.buffer + 512, > > bytestream2_get_bytes_left(&gbc) - 512) > > + && ( AV_RB32(&avpkt->data[522]) == 0x001102FF > > + || AV_RB16(&avpkt->data[522]) == 0x1101) > > isnt it enough to remove the first !check_header() ?
Yes, patch merged that only removes the first call to check_header(). Thank you, Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel