diff --git a/libavcodec/aacdec_fixed.c b/libavcodec/aacdec_fixed.c index 1d0142fdb0..9b2145c729 100644 --- a/libavcodec/aacdec_fixed.c +++ b/libavcodec/aacdec_fixed.c @@ -461,7 +461,7 @@ AVCodec ff_aac_fixed_decoder = { AV_SAMPLE_FMT_S32P, AV_SAMPLE_FMT_NONE }, .capabilities = AV_CODEC_CAP_CHANNEL_CONF | AV_CODEC_CAP_DR1, - .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, .channel_layouts = aac_channel_layout, .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles), .flush = flush,