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/libopusenc.c | |
parent | c34c0e3a649eb4fe8e6fb756b7784b7bfd9bd638 (diff) | |
download | ffmpeg-streaming-724cf83f100065ddabf827f55bf7ae9785875b4c.zip ffmpeg-streaming-724cf83f100065ddabf827f55bf7ae9785875b4c.tar.gz |
Remove some unneeded casts of bit_rate.
Diffstat (limited to 'libavcodec/libopusenc.c')
-rw-r--r-- | libavcodec/libopusenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libopusenc.c b/libavcodec/libopusenc.c index 77d8310..3d88c29 100644 --- a/libavcodec/libopusenc.c +++ b/libavcodec/libopusenc.c @@ -351,12 +351,12 @@ static av_cold int libopus_encode_init(AVCodecContext *avctx) avctx->bit_rate = 64000 * opus->stream_count + 32000 * coupled_stream_count; av_log(avctx, AV_LOG_WARNING, - "No bit rate set. Defaulting to %"PRId64" bps.\n", (int64_t)avctx->bit_rate); + "No bit rate set. Defaulting to %"PRId64" bps.\n", avctx->bit_rate); } if (avctx->bit_rate < 500 || avctx->bit_rate > 256000 * avctx->channels) { av_log(avctx, AV_LOG_ERROR, "The bit rate %"PRId64" bps is unsupported. " - "Please choose a value between 500 and %d.\n", (int64_t)avctx->bit_rate, + "Please choose a value between 500 and %d.\n", avctx->bit_rate, 256000 * avctx->channels); ret = AVERROR(EINVAL); goto fail; |