[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec x264.c,1.11,1.12

Måns Rullgård CVS mru
Wed Nov 9 20:18:23 CET 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv31698

Modified Files:
	x264.c 
Log Message:
revert incorrect change


Index: x264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/x264.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- x264.c	9 Nov 2005 08:50:55 -0000	1.11
+++ x264.c	9 Nov 2005 19:18:20 -0000	1.12
@@ -150,7 +150,7 @@
 
     if(avctx->flags & CODEC_FLAG_QSCALE && avctx->global_quality > 0)
         x4->params.rc.i_qp_constant =
-            12 + 6 * av_log2((double) avctx->global_quality / FF_QP2LAMBDA);
+            12 + 6 * 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