# HG changeset patch # User mru # Date 1131526255 0 # Node ID 6ade4702eb976d76d0559886577ab09fad9d6f6a # Parent ba9c17abb24bc813c4f95c3bc61d95098ad3ce0c s/log2/av_log2/ patch by Steven M. Schultz diff -r ba9c17abb24b -r 6ade4702eb97 x264.c --- a/x264.c Mon Nov 07 01:32:29 2005 +0000 +++ b/x264.c Wed Nov 09 08:50:55 2005 +0000 @@ -150,7 +150,7 @@ if(avctx->flags & CODEC_FLAG_QSCALE && avctx->global_quality > 0) x4->params.rc.i_qp_constant = - 12 + 6 * log2((double) avctx->global_quality / FF_QP2LAMBDA); + 12 + 6 * av_log2((double) avctx->global_quality / FF_QP2LAMBDA); x4->params.i_width = avctx->width; x4->params.i_height = avctx->height;