]> git.sesse.net Git - ffmpeg/commit
avformat/tedcaptionsdec: Fix memleak upon read header failure
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 14 Jun 2020 01:27:43 +0000 (03:27 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 15 Jun 2020 14:54:06 +0000 (16:54 +0200)
commit337783b118d4cc265759c103b672dd5d5d3e7cb8
treec29423fc745be00e59dc6663f49414f41e9084b2
parenta708f652737eba08607df84394ca4bec6b458736
avformat/tedcaptionsdec: Fix memleak upon read header failure

The already parsed subtitles (contained in an FFDemuxSubtitlesQueue)
would leak if allocating the AVStream for the subtitles fails.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/tedcaptionsdec.c