diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-14 03:20:09 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-01 21:36:38 +0200 |
commit | 9542691e95832a0ffb7271c58d771b44910a720e (patch) | |
tree | 26902620c65f08a44831e105aacf60adf7ac418f /libavformat/pjsdec.c | |
parent | ae98e1945e55e3a7c609db2806e6cc9db3ac9b64 (diff) | |
download | ffmpeg-9542691e95832a0ffb7271c58d771b44910a720e.tar.gz |
avformat/mpsubdec: Fix memleak upon read header failure
The already parsed subtitles (contained in an FFDemuxSubtitlesQueue)
would leak if an error happened upon creating an AVStream.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit a5ed8aeea4f4199e89520c3fdbd9d07ae7fc3c3f)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/pjsdec.c')
0 files changed, 0 insertions, 0 deletions