diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2016-01-20 16:49:55 +0000 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2016-01-20 16:49:55 +0000 |
commit | a72b1ea8261f093f0cdeebee9638f3d1b6367f37 (patch) | |
tree | 15f3032bc8b8b6b841040697ccc428e72bfc05f9 | |
parent | dec23859b040e2b76f6753789dbe7b47f2ecf497 (diff) | |
download | ffmpeg-a72b1ea8261f093f0cdeebee9638f3d1b6367f37.tar.gz |
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>
-rw-r--r-- | libavcodec/aacenc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 688b131818..be3c66a994 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -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; |