Re: [FFmpeg-devel] [PATCH v2 01/71] avcodec/ratecontrol: Fix double free on error

2024-06-11 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Happens on init_pass2() failure. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/ratecontrol.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c > index 9ee08ecb88..27017d7976 100644 > --- a/libavcodec/rat

[FFmpeg-devel] [PATCH v2 01/71] avcodec/ratecontrol: Fix double free on error

2024-05-11 Thread Andreas Rheinhardt
Happens on init_pass2() failure. Signed-off-by: Andreas Rheinhardt --- libavcodec/ratecontrol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 9ee08ecb88..27017d7976 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.