aacenc: mark LTP mode as experimental

Too many crashes observed. Can't be helped until the autocorrelation
function is massively checked for sanity.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
Rostislav Pehlivanov 2016-01-20 16:49:55 +00:00
parent dec23859b0
commit a72b1ea826

View File

@ -989,6 +989,9 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
s->options.pns = 0;
}
ERROR_IF(s->options.ltp && avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL,
"The LPT profile requires experimental compliance, add -strict -2 to enable!\n");
if ((ret = dsp_init(avctx, s)) < 0)
goto fail;