Commit 3112501d authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov

aacenc: fix aac_pred option triggering an error

Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
parent cc68ca0c
......@@ -960,7 +960,7 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
avctx->profile = FF_PROFILE_AAC_MAIN;
WARN_IF(1,
"Chainging profile to \"aac_main\"\n");
ERROR_IF(s->options.pred,
ERROR_IF(s->options.ltp,
"LTP prediction unavailable in the \"aac_main\" profile\n");
}
s->profile = avctx->profile;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment