[FFmpeg-devel] [PATCH] avcodec/mpegvideo_enc: fix memory leak
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sun Sep 25 17:02:54 EEST 2016
2016-09-25 16:00 GMT+02:00 Nicolas George <george at nsup.org>:
> Le quartidi 4 vendémiaire, an CCXXV, Carl Eugen Hoyos a écrit :
>> > 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.
> I believe you are wrong. It is not the same kind of leaks than usual, and
> not the kind of leak that valgrind can detect, but any repeated allocations
> that are not freed in a timely fashion when they are not needed anymore
> constitute a leak.
Fine with me.
(I am just surprised that other developers have often used
another definition on our various bug trackers that makes
much more sense to me.)
More information about the ffmpeg-devel