mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-14 02:50:11 +01:00
Remove some unneeded casts of bit_rate.
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user