Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Fix memleak when using single_file

2019-09-11 Thread Liu Steven
> 在 2019年9月11日,下午8:36,Andreas Rheinhardt 写道: > > This commit fixes a memleak in the hls muxer when one uses a single file > as output. It has been forgotten to free the temporary buffers used to write > the packets so that the size of the leaks basically amounts to the size > of the output file

[FFmpeg-devel] [PATCH] avformat/hlsenc: Fix memleak when using single_file

2019-09-11 Thread Andreas Rheinhardt
This commit fixes a memleak in the hls muxer when one uses a single file as output. It has been forgotten to free the temporary buffers used to write the packets so that the size of the leaks basically amounts to the size of the output file. This commit adds the necessary free. Signed-off-by: Andr