aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext_dxva2.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-10 21:39:28 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-11 14:41:18 +0200
commit77ace1ffea6bd40d44326c1a87a55db0937877f1 (patch)
tree9071f506967ad35d846cd8c6df0396789d30fa61 /libavutil/hwcontext_dxva2.c
parent8443848dfc632334439d4eae7e446167682a4ddb (diff)
downloadffmpeg-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/hwcontext_dxva2.c')
0 files changed, 0 insertions, 0 deletions