[FFmpeg-devel] safety checks in get_*bits

Benjamin Larsson banan
Tue Sep 7 10:09:02 CEST 2010

On 09/07/2010 09:12 AM, S?bastien Escudier wrote:
> Hi,
> I encountered a lot of crash in ffmpeg, with corrupted streams.
> I was wondering if there is a reason for not checking that we don't go beyond
> buffer limits in get_*bits functions (libavcodec/get_bits.h), or before we call
> them.
> Best regards,
> Sebastien.

Performance reasons.

Benjamin Larsson

More information about the ffmpeg-devel mailing list