Browse Source

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>
tags/n3.0
Rostislav Pehlivanov 10 years ago
parent
commit
a72b1ea826
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/aacenc.c

+ 3
- 0
libavcodec/aacenc.c View File

@@ -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;



Loading…
Cancel
Save