[Ffmpeg-devel] [patch] h264.c, dont go beyond buffer in h264_decode_nal_unit

matthieu castet castet.matthieu
Sun Apr 29 10:45:16 CEST 2007


Mean wrote:
> Michael Niedermayer wrote:
>> Hi
>> On Sat, Apr 28, 2007 at 06:24:58PM +0200, Mean wrote:
>>> Hello,
>>>       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
> Ok, would that be better ?
No need to add your name everywhere in the code, version control system 
will do that (svn annotate ...).

More information about the ffmpeg-devel mailing list