[FFmpeg-devel] [PATCH 29/40] avcodec/cfhdenc: Fix leaks on allocation errors
Paul B Mahol
onemda at gmail.com
Mon Sep 14 11:17:29 EEST 2020
On Mon, Sep 14, 2020 at 07:27:36AM +0200, Andreas Rheinhardt wrote:
> The CineForm HD encoder attempts to allocate several buffers in its init
> function; yet if only some of these allocations succeed, the
> successfully allocated buffers leak. This is fixed by setting the
> FF_CODEC_CAP_INIT_CLEANUP flag.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
lgtm
More information about the ffmpeg-devel
mailing list