[FFmpeg-devel] [PATCH 38/40] avcodec/ffv1enc: Fix memleaks on init failure

Michael Niedermayer michael at niedermayer.cc
Wed Sep 16 21:25:36 EEST 2020


On Mon, Sep 14, 2020 at 07:27:45AM +0200, Andreas Rheinhardt wrote:
> The FFV1 encoder has so far not cleaned up after itself in this case;
> but it can be done easily by setting the FF_CODEC_CAP_INIT_CLEANUP flag.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavcodec/ffv1enc.c | 1 +
>  1 file changed, 1 insertion(+)

probably ok

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"I am not trying to be anyone's saviour, I'm trying to think about the
 future and not be sad" - Elon Musk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200916/0dff5d67/attachment.sig>


More information about the ffmpeg-devel mailing list