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

2020-09-16 Thread Michael Niedermayer
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 > --- > libavcodec/ffv1enc.c | 1 + > 1 fil

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

2020-09-13 Thread Andreas Rheinhardt
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 --- libavcodec/ffv1enc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.