mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/utils: fix typo and reword message in case of too low bitrate
This commit is contained in:
parent
f963c77856
commit
dae76e8c47
@ -1044,7 +1044,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code
|
|||||||
}
|
}
|
||||||
if ( (avctx->codec_type == AVMEDIA_TYPE_VIDEO || avctx->codec_type == AVMEDIA_TYPE_AUDIO)
|
if ( (avctx->codec_type == AVMEDIA_TYPE_VIDEO || avctx->codec_type == AVMEDIA_TYPE_AUDIO)
|
||||||
&& avctx->bit_rate>0 && avctx->bit_rate<1000) {
|
&& avctx->bit_rate>0 && avctx->bit_rate<1000) {
|
||||||
av_log(avctx, AV_LOG_WARNING, "Bitrate %d is extreemly low, did you mean %dk\n", avctx->bit_rate, avctx->bit_rate);
|
av_log(avctx, AV_LOG_WARNING, "Bitrate %d is extremely low, maybe you mean %dk\n", avctx->bit_rate, avctx->bit_rate);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!avctx->rc_initial_buffer_occupancy)
|
if (!avctx->rc_initial_buffer_occupancy)
|
||||||
|
Loading…
Reference in New Issue
Block a user