[FFmpeg-devel] patch for ticket 2716
Anshul maheshwari
er.anshul.maheshwari at gmail.com
Thu Jun 27 08:56:31 CEST 2013
hi
I have again created the patch for ticket 2716, at avformat_new_stream
previous one was not working.
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
regards
anshul
-------------- 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/ad26ff22/attachment.obj>
More information about the ffmpeg-devel
mailing list