[FFmpeg-devel] [PATCH] avcodec/mationpixels: check for mallocfailures

Piotr Bandurski ami_stuff at o2.pl
Sat Sep 14 04:45:40 CEST 2013


> didnt see the comment before pushing
> but calling mp_decode_end() may be easier for post failure cleanup

Ah, I already created a patch.

I belive that I wound need to move mp_decode_end() at the top to use it in
mp_decode_init(), but please feel free to do it yourself if you think that
it's a better/more preffered solution.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-avcodec-mationpixels-free-memory-after-malloc-failur.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130914/e69efe27/attachment.txt>

More information about the ffmpeg-devel mailing list