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

Pavel Pavlov pavel
Tue Mar 9 00:25:49 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: load_input_picture-crash-fix.patch
Type: application/octet-stream
Size: 868 bytes
Desc: load_input_picture-crash-fix.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100308/3c431f05/attachment.obj>



More information about the ffmpeg-devel mailing list