[FFmpeg-devel] [PATCH] avcodec/mpegvideo_enc: fix memory leak

Timo Rothenpieler timo at rothenpieler.org
Sun Sep 25 16:47:00 EEST 2016


On 9/25/2016 3:44 PM, Carl Eugen Hoyos wrote:
> 2016-09-25 15:43 GMT+02:00 Timo Rothenpieler <timo at rothenpieler.org>:
>> When the input frames contain side data, it will accumulate endlessly in
>> the coded frame, as av_frame_copy_props will append any new side data.
> 
> But there is no leak, no?
> Is this related to ticket #5799?

This fixes that ticket for me, yes.
And without this, ffmpeg keeps using more and more memory.
So while the memory is eventually freed when the encoding is done, it
still seems like a leak to me.


More information about the ffmpeg-devel mailing list