diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-17 03:10:42 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-17 03:10:42 +0100 |
commit | 3ca7085ae2f7734746174762e76a9b2b1c6e8626 (patch) | |
tree | 7ae3469cd4713e7e4df664faf74243e4ff3e1de3 | |
parent | d0004a1959ec200bad16c7e6cc03b83c17d66cfe (diff) | |
download | ffmpeg-3ca7085ae2f7734746174762e76a9b2b1c6e8626.tar.gz |
avcodec: make "bitrate tolerance too small for bitrate" error more verbose
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index c1fe13a350..9dd2870df4 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -407,7 +407,7 @@ av_cold int ff_MPV_encode_init(AVCodecContext *avctx) avctx->bit_rate * av_q2d(avctx->time_base) > avctx->bit_rate_tolerance) { av_log(avctx, AV_LOG_ERROR, - "bitrate tolerance too small for bitrate\n"); + "bitrate tolerance %d too small for bitrate %d\n", avctx->bit_rate_tolerance, avctx->bit_rate); return -1; } |