avcodec: add LCEVC decoding support via LCEVCdec

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2024-04-02 16:33:02 -03:00
parent 6147385393
commit 660e7e6a0e
8 changed files with 439 additions and 2 deletions

View File

@@ -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);