Re: [FFmpeg-devel] [PATCH] avformat/nutenc: Drop redundant frees

2020-03-14 Thread Michael Niedermayer
On Sat, Mar 14, 2020 at 05:32:17PM +0100, Andreas Rheinhardt wrote: > Should writing the header fail, the allocations already performed will > be freed during deinit so remove the frees in nut_write_header(). > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/nutenc.c | 6 +- > 1 file

[FFmpeg-devel] [PATCH] avformat/nutenc: Drop redundant frees

2020-03-14 Thread Andreas Rheinhardt
Should writing the header fail, the allocations already performed will be freed during deinit so remove the frees in nut_write_header(). Signed-off-by: Andreas Rheinhardt --- libavformat/nutenc.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavformat/nutenc.c b/liba