diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-14 03:27:43 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-03 16:16:47 +0200 |
commit | 0e0618cd6edf71e5ba591e93ddddc3b870ef4489 (patch) | |
tree | a232936b85194a759ece7e5f0753ac9876604c2f /libavcodec/snow.c | |
parent | 2c6b124cace4222627b8bb96fdc7159ee29ea2fd (diff) | |
download | ffmpeg-0e0618cd6edf71e5ba591e93ddddc3b870ef4489.tar.gz |
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>
(cherry picked from commit 337783b118d4cc265759c103b672dd5d5d3e7cb8)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/snow.c')
0 files changed, 0 insertions, 0 deletions