[FFmpeg-devel] [PATCH] avcodec/mpegvideo_enc: fix memory leak
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sun Sep 25 16:55:36 EEST 2016
2016-09-25 15:47 GMT+02:00 Timo Rothenpieler <timo at rothenpieler.org>:
> 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.
Please mention this in the commit message.
> And without this, ffmpeg keeps using more and more memory.
> So while the memory is eventually freed when the encoding is done
I believe this defines it as not being a leak.
Thank you for fixing this, Carl Eugen
More information about the ffmpeg-devel
mailing list