aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/qsvdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-23 03:49:48 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-27 07:20:56 +0100
commita23078a721682268caf03fc6d24a6ab202d309ae (patch)
tree1a56da59c2a20175260c2e91313b7086f3d31cfd /doc/examples/qsvdec.c
parentba257f568e3aacf0aa85de2d57b6e49733bfbb69 (diff)
downloadffmpeg-a23078a721682268caf03fc6d24a6ab202d309ae.tar.gz
fftools/ffmpeg: Fix leak of AVFilterInOut in case of error
The AVFilterInOuts normally get freed in init_output_filter() when the corresponding streams get created; yet if an error happens before one reaches said point, they leak. Therefore this commit makes ffmpeg_cleanup free them, too. Fixes ticket #8267. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit 426c16d61a9b5056a157a1a2a057a4e4d13eef84)
Diffstat (limited to 'doc/examples/qsvdec.c')
0 files changed, 0 insertions, 0 deletions