diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-12 23:52:36 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-17 00:09:08 +0200 |
commit | 2a71cbeb019fabd70f04ca9d2ec5d0bff3b3e3d2 (patch) | |
tree | bdf1edeac485fcd7ac87f5d3bd720409ff01e7b1 /libavfilter/vf_dctdnoiz.c | |
parent | 4db4e69512a933f38d99b10df58431b9fed3e584 (diff) | |
download | ffmpeg-2a71cbeb019fabd70f04ca9d2ec5d0bff3b3e3d2.tar.gz |
avcodec/qtrleenc: Fix memleak upon allocation failure
The qtrle encoder allocates several buffers and an AVFrame in its init
function. If one of these allocations fails, but others succeed, the
successfully allocated objects leak. This is fixed by setting the
FF_CODEC_CAP_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_dctdnoiz.c')
0 files changed, 0 insertions, 0 deletions