aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-17 03:10:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-17 03:10:42 +0100
commit3ca7085ae2f7734746174762e76a9b2b1c6e8626 (patch)
tree7ae3469cd4713e7e4df664faf74243e4ff3e1de3
parentd0004a1959ec200bad16c7e6cc03b83c17d66cfe (diff)
downloadffmpeg-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.c2
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;
}