changeset 2934:6ade4702eb97 libavcodec

s/log2/av_log2/ patch by Steven M. Schultz <sms at 2bsd com>
author mru
date Wed, 09 Nov 2005 08:50:55 +0000
parents ba9c17abb24b
children b564bb15e63c
files x264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;