diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index 45846bb3df..92d1af9fcf 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -585,6 +585,7 @@ AVCodec ff_flashsv2_decoder = { .close = flashsv2_decode_end, .decode = flashsv_decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE }, }; #endif /* CONFIG_FLASHSV2_DECODER */