[Ffmpeg-devel] [patch] h264.c, dont go beyond buffer in h264_decode_nal_unit
Sat Apr 28 21:41:58 CEST 2007
On Sat, Apr 28, 2007 at 06:24:58PM +0200, Mean wrote:
> Please find attached a very small patch (oneliner) that prevent
> going out of the buffer if the nal size does not fit in the buffer.
> (sorry if it is another stupid one :) )
the change is wrong, the check 4 lines below should be fixed
simply silently breaking out of the loop in case of an error is wrong
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the ffmpeg-devel