[FFmpeg-devel] load_input_picture-crash-fix.patch

Pavel Pavlov pavel
Tue Mar 9 00:41:03 CET 2010


> Long time ago I had some crashes inside avcodec. I tried to debug and
> it appeared that in low memory conditions it could crash if
> ff_alloc_picture fails. As far as I remember that ff_alloc_picture
> could request considerable amount of memory so, return results really
> should be checked everywhere. The attached patch fixed my problems

Patch updated to handle the last unchecked ff_alloc_picture call
-------------- next part --------------
A non-text attachment was scrubbed...
Name: load_input_picture-crash-fix2.patch
Type: application/octet-stream
Size: 1905 bytes
Desc: load_input_picture-crash-fix2.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100308/9307a4f9/attachment.obj>



More information about the ffmpeg-devel mailing list