[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec x264.c,1.10,1.11
Måns Rullgård CVS
mru
Wed Nov 9 09:50:58 CET 2005
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv23251/libavcodec
Modified Files:
x264.c
Log Message:
s/log2/av_log2/
patch by Steven M. Schultz <sms at 2bsd com>
Index: x264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/x264.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- x264.c 14 Sep 2005 21:05:24 -0000 1.10
+++ x264.c 9 Nov 2005 08:50:55 -0000 1.11
@@ -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;
More information about the ffmpeg-cvslog
mailing list