Re: [FFmpeg-devel] [PATCH 3/3] avformat/mpeg: Fix leaks of AVFormatContext and subtitle packets

2019-12-05 Thread Michael Niedermayer
On Wed, Dec 04, 2019 at 01:37:14PM +0100, Andreas Rheinhardt wrote: > If an error happens in vobsub_read_header() after allocating the > AVFormatContext intended to read the sub-file, both the AVFormatContext > as well as the data in the subtitles queues leaks. This has been fixed. > > Signed-off-

[FFmpeg-devel] [PATCH 3/3] avformat/mpeg: Fix leaks of AVFormatContext and subtitle packets

2019-12-04 Thread Andreas Rheinhardt
If an error happens in vobsub_read_header() after allocating the AVFormatContext intended to read the sub-file, both the AVFormatContext as well as the data in the subtitles queues leaks. This has been fixed. Signed-off-by: Andreas Rheinhardt --- Supersedes https://ffmpeg.org/pipermail/ffmpeg-dev