[FFmpeg-devel] (no subject)

Anshul maheshwari er.anshul.maheshwari at gmail.com
Thu Jun 27 08:15:39 CEST 2013


I have created the patch for ticket 2716, at avformat_new_stream

we were allocating codec context but we were not releasing the memory.
in avformat_free_context.

there is no big leakage if we do avcodec_open and avcodec_close
since avcodec_close release the codec->private_data context

but if person is not doing avcodec_open and avcodec_close he may find that
there is memory leakage

with regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_memory_leak.patch
Type: application/octet-stream
Size: 682 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130627/0bf72f03/attachment.obj>

More information about the ffmpeg-devel mailing list