summaryrefslogtreecommitdiff
path: root/libavcodec/dcaenc.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-09-22 01:33:22 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-09-22 01:33:22 +0200
commit724cf83f100065ddabf827f55bf7ae9785875b4c (patch)
tree1ab91c813a08d35c94d1214aa431070481bf1476 /libavcodec/dcaenc.c
parentc34c0e3a649eb4fe8e6fb756b7784b7bfd9bd638 (diff)
Remove some unneeded casts of bit_rate.
Diffstat (limited to 'libavcodec/dcaenc.c')
-rw-r--r--libavcodec/dcaenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c
index c1d72bfd16..dd601ffae0 100644
--- a/libavcodec/dcaenc.c
+++ b/libavcodec/dcaenc.c
@@ -216,7 +216,7 @@ static int encode_init(AVCodecContext *avctx)
c->samplerate_index = i;
if (avctx->bit_rate < 32000 || avctx->bit_rate > 3840000) {
- av_log(avctx, AV_LOG_ERROR, "Bit rate %"PRId64" not supported.", (int64_t)avctx->bit_rate);
+ av_log(avctx, AV_LOG_ERROR, "Bit rate %"PRId64" not supported.", avctx->bit_rate);
return AVERROR(EINVAL);
}
for (i = 0; ff_dca_bit_rates[i] < avctx->bit_rate; i++)