[FFmpeg-devel] [PATCH] Fix mem leak interrupt during avformat_open_input

Schenk, Michael Michael.Schenk at albistechnologies.com
Thu Apr 3 09:48:36 CEST 2014


when using interrupt_callback during avformat_open_input(...) it may happen on certain demux that they
leak memory because iformat->read_close() will not be called in the error path. The attached patch
fix that.

Feedback welcome.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_memleak_abort_avformat_open_input.patch
Type: application/octet-stream
Size: 477 bytes
Desc: fix_memleak_abort_avformat_open_input.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140403/60fa148b/attachment.obj>

More information about the ffmpeg-devel mailing list