Re: [FFmpeg-devel] [PATCH 01/16] avformat/hlsenc: Fix leak of child AVFormatContext

2019-12-15 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > Before ed897633, the hls muxer would free its child AVFormatContexts > and reset the pointer to these contexts to NULL immediately afterwards; > ed897633 moved the former to later (into a separate function), but kept > the resetting, ensuring tha

[FFmpeg-devel] [PATCH 01/16] avformat/hlsenc: Fix leak of child AVFormatContext

2019-12-15 Thread Andreas Rheinhardt
Before ed897633, the hls muxer would free its child AVFormatContexts and reset the pointer to these contexts to NULL immediately afterwards; ed897633 moved the former to later (into a separate function), but kept the resetting, ensuring that the child context leaks. Signed-off-by: Andreas Rheinhar