summaryrefslogtreecommitdiff
path: root/libavcodec/libfdk-aacenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-09-15 18:01:32 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-09-15 18:02:43 +0200
commit7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d (patch)
tree08d1d4010e20cd696e358bf03f9e2565f3256e0c /libavcodec/libfdk-aacenc.c
parent28e023377cfe42c5406441eeff32842c1bb1f09f (diff)
downloadffmpeg-7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d.tar.gz
lavc: Switch bitrate to 64bit unless compatibility with avconv was requested.
Diffstat (limited to 'libavcodec/libfdk-aacenc.c')
-rw-r--r--libavcodec/libfdk-aacenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c
index 5df0c90947..98a817b537 100644
--- a/libavcodec/libfdk-aacenc.c
+++ b/libavcodec/libfdk-aacenc.c
@@ -215,8 +215,8 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
}
if ((err = aacEncoder_SetParam(s->handle, AACENC_BITRATE,
avctx->bit_rate)) != AACENC_OK) {
- av_log(avctx, AV_LOG_ERROR, "Unable to set the bitrate %d: %s\n",
- avctx->bit_rate, aac_get_error(err));
+ av_log(avctx, AV_LOG_ERROR, "Unable to set the bitrate %"PRId64": %s\n",
+ (int64_t)avctx->bit_rate, aac_get_error(err));
goto error;
}
}