diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 43bb0179902ce9351482b7fa9ef21005a6e14030..c9a13dbd71dfce42c8dde4ef760664500933a926 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -967,6 +967,8 @@ static av_cold int aac_encode_init(AVCodecContext *avctx) s->coder = &ff_aac_coders[s->options.coder]; if (s->options.coder != AAC_CODER_TWOLOOP) { + ERROR_IF(avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL, + "Coders other than twoloop require -strict -2 and some may be removed in the future\n"); WARN_IF(s->options.coder == AAC_CODER_FAAC, "The FAAC-like coder will be removed in the near future, please use twoloop!\n"); s->options.intensity_stereo = 0;