From aaa3f115d8e4751f54bbb3aa47bf6e2008b8058b Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 8 Sep 2018 20:02:41 +0200 Subject: [PATCH] avcodec/cook: decoder supports init_cleanup capability --- libavcodec/cook.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 53cb83852e..c5f68c98ba 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1282,6 +1282,7 @@ AVCodec ff_cook_decoder = { .close = cook_decode_close, .decode = cook_decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE }, };