diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-10 21:39:28 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-11 14:41:18 +0200 |
commit | 77ace1ffea6bd40d44326c1a87a55db0937877f1 (patch) | |
tree | 9071f506967ad35d846cd8c6df0396789d30fa61 /libavutil/parseutils.h | |
parent | 8443848dfc632334439d4eae7e446167682a4ddb (diff) | |
download | ffmpeg-77ace1ffea6bd40d44326c1a87a55db0937877f1.tar.gz |
avfilter/vf_subtitles: Fix leaks on failure
init_subtitles() sometimes returned directly upon error without cleaning
up after itself. The easiest way to trigger this is by using
picture-based subtitles; it is also possible to run into this in case of
missing decoders or allocation failures.
Furthermore, return the proper error code in case of missing decoder.
Reviewed-by: Nicolas George <george@nsup.org>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/parseutils.h')
0 files changed, 0 insertions, 0 deletions