diff options
author | Cameron Gutman <aicommander@gmail.com> | 2023-01-20 19:20:30 -0600 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2023-01-31 14:39:25 +0200 |
commit | 669ff26bc283c39334e7df3a81fd0db0088a7442 (patch) | |
tree | eca7749ea126b0da2543625c669b0b34dbc4a4b5 /libavcodec/codec_par.c | |
parent | 431f6260ac6408fdccfe06dd5276084b17c3557f (diff) | |
download | ffmpeg-669ff26bc283c39334e7df3a81fd0db0088a7442.tar.gz |
avcodec/mfenc: fix double-free on init failure
mfenc sets FF_CODEC_CAP_INIT_CLEANUP, so calling mf_close() on
failure inside mf_init() results in a double-free.
Signed-off-by: Cameron Gutman <aicommander@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/codec_par.c')
0 files changed, 0 insertions, 0 deletions