projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af8aa84
)
revert incorrect change
author
Måns Rullgård
<mans@mansr.com>
Wed, 9 Nov 2005 19:18:20 +0000
(19:18 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Wed, 9 Nov 2005 19:18:20 +0000
(19:18 +0000)
Originally committed as revision 4683 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/x264.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/x264.c
b/libavcodec/x264.c
index
0b08b2d
..
b2e922f
100644
(file)
--- 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 *
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;