[FFmpeg-devel] A patch to fix buffer overflow when decoding h264
Wed May 26 14:34:38 CEST 2010
I was experiencing crashes when decoding certain h264 videos
(unfortunately it is quite hard to extract the problematic stream for
replication, since its in proprietary DVR format).
It seems that s->mb_height can change in decode_slice_header after
alloc_tables has been called for the current context, which causes
overflows later. Hopefully this behaviour can be confirmed without a
I have attached a patch that reallocates the tables if mb_width or
Turun Turvatekniikka Oy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel