aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_setparams.c
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2019-07-09 19:03:58 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2019-07-10 12:54:57 +0200
commitb1febda061955c6f4bfbc1a75918b5e75e7d7f80 (patch)
tree45bc00b16c28b07f939ec8b32b24033e42f347f6 /libavfilter/vf_setparams.c
parent94d45a13c7e893538ca59bf6605a772c13f64f95 (diff)
downloadffmpeg-b1febda061955c6f4bfbc1a75918b5e75e7d7f80.tar.gz
avcodec/utils, avcodec_open2: close codec on failure
after a successful init if the function fails for another reason close the codec without requiring FF_CODEC_CAP_INIT_CLEANUP which is meant to cover init failures themselves. fixes a memory leak in those cases. BUG=oss-fuzz:15529 Signed-off-by: James Zern <jzern@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/vf_setparams.c')
0 files changed, 0 insertions, 0 deletions