diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 53cb83852e3e23b93267add4471b252deaab9e63..c5f68c98ba6046261865f7dcbb4de5b6bca9e2c4 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 }, };