diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-15 18:01:32 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-09-15 18:02:43 +0200 |
commit | 7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d (patch) | |
tree | 08d1d4010e20cd696e358bf03f9e2565f3256e0c /libavcodec/libgsmenc.c | |
parent | 28e023377cfe42c5406441eeff32842c1bb1f09f (diff) | |
download | ffmpeg-7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d.tar.gz |
lavc: Switch bitrate to 64bit unless compatibility with avconv was requested.
Diffstat (limited to 'libavcodec/libgsmenc.c')
-rw-r--r-- | libavcodec/libgsmenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libgsmenc.c b/libavcodec/libgsmenc.c index 45fdb8edd6..69ce439ec1 100644 --- a/libavcodec/libgsmenc.c +++ b/libavcodec/libgsmenc.c @@ -62,8 +62,8 @@ static av_cold int libgsm_encode_init(AVCodecContext *avctx) { if (avctx->bit_rate != 13000 /* Official */ && avctx->bit_rate != 13200 /* Very common */ && avctx->bit_rate != 0 /* Unknown; a.o. mov does not set bitrate when decoding */ ) { - av_log(avctx, AV_LOG_ERROR, "Bitrate 13000bps required for GSM, got %dbps\n", - avctx->bit_rate); + av_log(avctx, AV_LOG_ERROR, "Bitrate 13000bps required for GSM, got %"PRId64"bps\n", + (int64_t)avctx->bit_rate); if (avctx->strict_std_compliance > FF_COMPLIANCE_UNOFFICIAL) return -1; } |