From 68dce79b0077b15bf27eb3017105f226c24b40d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Wed, 9 Nov 2005 19:18:20 +0000 Subject: [PATCH] revert incorrect change Originally committed as revision 4683 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/x264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x264.c b/libavcodec/x264.c index 0b08b2df80..b2e922f0a7 100644 --- a/libavcodec/x264.c +++ b/libavcodec/x264.c @@ -150,7 +150,7 @@ X264_init(AVCodecContext *avctx) if(avctx->flags & CODEC_FLAG_QSCALE && avctx->global_quality > 0) x4->params.rc.i_qp_constant = - 12 + 6 * av_log2((double) avctx->global_quality / FF_QP2LAMBDA); + 12 + 6 * log2((double) avctx->global_quality / FF_QP2LAMBDA); x4->params.i_width = avctx->width; x4->params.i_height = avctx->height;