Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2016-01-20 19:49:55 +0300
committerRostislav Pehlivanov <atomnuker@gmail.com>2016-01-20 19:49:55 +0300
commita72b1ea8261f093f0cdeebee9638f3d1b6367f37 (patch)
tree15f3032bc8b8b6b841040697ccc428e72bfc05f9 /libavcodec/aacenc.c
parentdec23859b040e2b76f6753789dbe7b47f2ecf497 (diff)
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>
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r--libavcodec/aacenc.c3
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;