diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-09-22 01:33:22 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-09-22 01:33:22 +0200 |
commit | 724cf83f100065ddabf827f55bf7ae9785875b4c (patch) | |
tree | 1ab91c813a08d35c94d1214aa431070481bf1476 /libavcodec/utils.c | |
parent | c34c0e3a649eb4fe8e6fb756b7784b7bfd9bd638 (diff) | |
download | ffmpeg-724cf83f100065ddabf827f55bf7ae9785875b4c.tar.gz |
Remove some unneeded casts of bit_rate.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index baf4992b19..9551f312e7 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -967,7 +967,7 @@ FF_ENABLE_DEPRECATION_WARNINGS } if ( (avctx->codec_type == AVMEDIA_TYPE_VIDEO || avctx->codec_type == AVMEDIA_TYPE_AUDIO) && avctx->bit_rate>0 && avctx->bit_rate<1000) { - av_log(avctx, AV_LOG_WARNING, "Bitrate %"PRId64" is extremely low, maybe you mean %"PRId64"k\n", (int64_t)avctx->bit_rate, (int64_t)avctx->bit_rate); + av_log(avctx, AV_LOG_WARNING, "Bitrate %"PRId64" is extremely low, maybe you mean %"PRId64"k\n", avctx->bit_rate, avctx->bit_rate); } if (!avctx->rc_initial_buffer_occupancy) @@ -1522,7 +1522,7 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode) ", %"PRId64" kb/s", bitrate / 1000); } else if (enc->rc_max_rate > 0) { snprintf(buf + strlen(buf), buf_size - strlen(buf), - ", max. %"PRId64" kb/s", (int64_t)enc->rc_max_rate / 1000); + ", max. %"PRId64" kb/s", enc->rc_max_rate / 1000); } } |