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