Remove some unneeded casts of bit_rate.

This commit is contained in:
Carl Eugen Hoyos
2017-09-22 01:33:22 +02:00
parent c34c0e3a64
commit 724cf83f10
17 changed files with 22 additions and 22 deletions

View File

@@ -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++)