diff options
author | James Almer <jamrial@gmail.com> | 2024-04-02 16:33:02 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-09-23 10:20:47 -0300 |
commit | 660e7e6a0ef0981c968e95d192b1ef094dbc53ad (patch) | |
tree | a0a301c7284b5b95d9a53676887f953c0e74b5b8 /libavcodec/avcodec.c | |
parent | 6147385393a571b887e64fefe7e200ff72df7c0f (diff) | |
download | ffmpeg-660e7e6a0ef0981c968e95d192b1ef094dbc53ad.tar.gz |
avcodec: add LCEVC decoding support via LCEVCdec
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.c')
-rw-r--r-- | libavcodec/avcodec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c index 8d1a280323..d1daf47611 100644 --- a/libavcodec/avcodec.c +++ b/libavcodec/avcodec.c @@ -446,6 +446,8 @@ av_cold void ff_codec_close(AVCodecContext *avctx) ff_refstruct_unref(&avci->pool); ff_refstruct_pool_uninit(&avci->progress_frame_pool); + if (av_codec_is_decoder(avctx->codec)) + ff_decode_internal_uninit(avctx); ff_hwaccel_uninit(avctx); |