Browse Source

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
tags/v0.5
Steven M. Schultz Måns Rullgård 20 years ago
parent
commit
3712092e76
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/x264.c

+ 1
- 1
libavcodec/x264.c View File

@@ -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;


Loading…
Cancel
Save