[FFmpeg-cvslog] aacenc: fix aac_pred option triggering an error
Rostislav Pehlivanov
git at videolan.org
Sat Dec 5 19:44:16 CET 2015
ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Sat Dec 5 18:43:17 2015 +0000| [3112501daf715f715f729defaa6133c2fab678f2] | committer: Rostislav Pehlivanov
aacenc: fix aac_pred option triggering an error
Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3112501daf715f715f729defaa6133c2fab678f2
---
libavcodec/aacenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 5750434..7220ddc 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;
More information about the ffmpeg-cvslog
mailing list