diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-12-05 14:41:41 +0000 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-12-05 15:41:25 +0000 |
commit | b270ec9a1069fd339ab1716848300c5319663aad (patch) | |
tree | 584ecb96c9dc324318ffbb065127d68f598c89d2 | |
parent | 3a6e0208615e2f8eddeb58f62b9301bd9b236025 (diff) | |
download | ffmpeg-b270ec9a1069fd339ab1716848300c5319663aad.tar.gz |
aacenc: mark coders other than twoloop as experimental
ANMR has some interesting things coming up but is currently not in a
shape fit for non-experimental usage. Same with "FAST".
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-rw-r--r-- | libavcodec/aacenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 43bb017990..c9a13dbd71 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; |