diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 34fcd95795..05a85d830f 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -1513,4 +1513,5 @@ AVCodec ff_flac_encoder = { AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_NONE }, .priv_class = &flac_encoder_class, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, };