]> git.sesse.net Git - ffmpeg/commit
avformat/sccdec: Fix memleak upon read header failure
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 14 Jun 2020 01:22:32 +0000 (03:22 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 15 Jun 2020 14:54:06 +0000 (16:54 +0200)
commitf3c63e67bb00fa7d96595203d01a576df651e275
tree1f4d51cf76bfaf01f9c5d3e6026fb87fc8696771
parentf161f8e4ad10c8ae5b2e97870e09bc6a421408eb
avformat/sccdec: Fix memleak upon read header failure

The already parsed subtitles (contained in an FFDemuxSubtitlesQueue)
would leak if an error happened upon reading a subsequent subtitle.

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