aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-12-05 18:43:17 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-12-05 18:43:17 +0000
commit3112501daf715f715f729defaa6133c2fab678f2 (patch)
treed6997be1856a2be80dd181d5402bd00f0b2dd68d
parentcc68ca0cab67a2d94eef2c1ea817065b911ff57f (diff)
downloadffmpeg-3112501daf715f715f729defaa6133c2fab678f2.tar.gz
aacenc: fix aac_pred option triggering an error
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-rw-r--r--libavcodec/aacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 575043419e..7220ddc4d7 100644
--- a/libavcodec/aacenc.c
+++ b/libavcodec/aacenc.c
@@ -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;