summaryrefslogtreecommitdiffstats
path: root/libavcodec/x264.c
diff options
context:
space:
mode:
authorSteven M. Schultz <sms@2bsd.com>2005-11-09 08:50:55 +0000
committerMåns Rullgård <mans@mansr.com>2005-11-09 08:50:55 +0000
commit3712092e76901756aa9b271a1b9ef4744b705fe4 (patch)
treec30d565fcdb372cd5bce0b3a15eb95b898170614 /libavcodec/x264.c
parent25f8db58eef71e17f98d84dc2d51427f1bd08ddf (diff)
downloadffmpeg-streaming-3712092e76901756aa9b271a1b9ef4744b705fe4.zip
ffmpeg-streaming-3712092e76901756aa9b271a1b9ef4744b705fe4.tar.gz
s/log2/av_log2/
patch by Steven M. Schultz <sms at 2bsd com> Originally committed as revision 4681 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x264.c')
-rw-r--r--libavcodec/x264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x264.c b/libavcodec/x264.c
index b2e922f..0b08b2d 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 * 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;
OpenPOWER on IntegriCloud