Commit bccd697c authored by mru's avatar mru

s/log2/av_log2/

patch by Steven M. Schultz <sms at 2bsd com>


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4681 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5158c1a0
...@@ -150,7 +150,7 @@ X264_init(AVCodecContext *avctx) ...@@ -150,7 +150,7 @@ X264_init(AVCodecContext *avctx)
if(avctx->flags & CODEC_FLAG_QSCALE && avctx->global_quality > 0) if(avctx->flags & CODEC_FLAG_QSCALE && avctx->global_quality > 0)
x4->params.rc.i_qp_constant = 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_width = avctx->width;
x4->params.i_height = avctx->height; x4->params.i_height = avctx->height;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment