diff options
author | James Zern <jzern@google.com> | 2019-07-09 19:03:58 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-07-10 12:54:57 +0200 |
commit | b1febda061955c6f4bfbc1a75918b5e75e7d7f80 (patch) | |
tree | 45bc00b16c28b07f939ec8b32b24033e42f347f6 /libavfilter/vf_fftfilt.c | |
parent | 94d45a13c7e893538ca59bf6605a772c13f64f95 (diff) | |
download | ffmpeg-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_fftfilt.c')
0 files changed, 0 insertions, 0 deletions