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-02 10:15:09 +0200 |
commit | 21c48ec9c3237deb2245ce76185e257153b613a2 (patch) | |
tree | 90a6350bf8e3694a8ed5417315ea49cfc7a3c3ae /doc/examples/hw_decode.c | |
parent | 6b96e1410495f63cc3c52dd2df5c0b688429a8e1 (diff) | |
download | ffmpeg-21c48ec9c3237deb2245ce76185e257153b613a2.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 'doc/examples/hw_decode.c')
0 files changed, 0 insertions, 0 deletions