[FFmpeg-cvslog] aacenc: mark LTP mode as experimental

Rostislav Pehlivanov git at videolan.org
Wed Jan 20 17:52:03 CET 2016


ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Wed Jan 20 16:49:55 2016 +0000| [a72b1ea8261f093f0cdeebee9638f3d1b6367f37] | committer: 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: Rostislav Pehlivanov <atomnuker at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a72b1ea8261f093f0cdeebee9638f3d1b6367f37
---

 libavcodec/aacenc.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 688b131..be3c66a 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;
 



More information about the ffmpeg-cvslog mailing list