Re: [FFmpeg-devel] [PATCH 4/6] avformat/flvenc: Add deinit function

2019-10-24 Thread Michael Niedermayer
On Wed, Oct 23, 2019 at 02:59:42PM +0200, Andreas Rheinhardt wrote: > Fixes memleaks when the trailer is never written or when shift_data() > fails when writing the trailer. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/flvenc.c | 30 -- > 1 file changed,

[FFmpeg-devel] [PATCH 4/6] avformat/flvenc: Add deinit function

2019-10-23 Thread Andreas Rheinhardt
Fixes memleaks when the trailer is never written or when shift_data() fails when writing the trailer. Signed-off-by: Andreas Rheinhardt --- libavformat/flvenc.c | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/libavformat/flvenc.c b/libavformat