diff --git a/libavcodec/aac/aacdec.c b/libavcodec/aac/aacdec.c index 4110bc40ca..f6e79700d5 100644 --- a/libavcodec/aac/aacdec.c +++ b/libavcodec/aac/aacdec.c @@ -538,7 +538,9 @@ static av_cold void flush(AVCodecContext *avctx) } } +#if CONFIG_AAC_DECODER ff_aac_usac_reset_state(ac, &ac->oc[1]); +#endif } /**