Commit a72b1ea8 authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov

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: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
parent dec23859
...@@ -989,6 +989,9 @@ static av_cold int aac_encode_init(AVCodecContext *avctx) ...@@ -989,6 +989,9 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
s->options.pns = 0; 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) if ((ret = dsp_init(avctx, s)) < 0)
goto fail; goto fail;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment