aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sipr.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/sipr.c
parent28e023377cfe42c5406441eeff32842c1bb1f09f (diff)
downloadffmpeg-7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d.tar.gz
lavc: Switch bitrate to 64bit unless compatibility with avconv was requested.
Diffstat (limited to 'libavcodec/sipr.c')
-rw-r--r--libavcodec/sipr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/sipr.c b/libavcodec/sipr.c
index eb8b471263..4602a42484 100644
--- a/libavcodec/sipr.c
+++ b/libavcodec/sipr.c
@@ -493,8 +493,8 @@ static av_cold int sipr_decoder_init(AVCodecContext * avctx)
else if (avctx->bit_rate > 5750 ) ctx->mode = MODE_6k5;
else ctx->mode = MODE_5k0;
av_log(avctx, AV_LOG_WARNING,
- "Invalid block_align: %d. Mode %s guessed based on bitrate: %d\n",
- avctx->block_align, modes[ctx->mode].mode_name, avctx->bit_rate);
+ "Invalid block_align: %d. Mode %s guessed based on bitrate: %"PRId64"\n",
+ avctx->block_align, modes[ctx->mode].mode_name, (int64_t)avctx->bit_rate);
}
av_log(avctx, AV_LOG_DEBUG, "Mode: %s\n", modes[ctx->mode].mode_name);