summaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2020-09-10 21:39:28 +0200
committerAndreas Rheinhardt <[email protected]>2020-09-11 14:41:18 +0200
commit77ace1ffea6bd40d44326c1a87a55db0937877f1 (patch)
tree9071f506967ad35d846cd8c6df0396789d30fa61 /fftools/ffmpeg.h
parent8443848dfc632334439d4eae7e446167682a4ddb (diff)
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 <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'fftools/ffmpeg.h')
0 files changed, 0 insertions, 0 deletions