summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-12-05 14:38:44 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-12-05 15:41:25 +0000
commit3a6e0208615e2f8eddeb58f62b9301bd9b236025 (patch)
tree204dbe70ede7212b669d8de41610c3dfea9389a0 /libavcodec/aacenc.c
parenta525b844d9e454e42c762f8030c23bf56d8ec49c (diff)
aacenc: mark the "faac"-like coder for removal
This coder produces a much lower quality audio than the rest, is much slower and is unstable. Hasn't been updated for a very long time as well, hence it is more appropriate to remove it since it also depends on a big burden of a code (the encode_window_bands_info function which is just as old, just as unstable and bad and in no way modifiable or fixable). Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r--libavcodec/aacenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index b370f439d0..43bb017990 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) {
+ 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;
s->options.pns = 0;
}