summaryrefslogtreecommitdiff
path: root/libavcodec/x264.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-10-16 17:44:29 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-10-16 17:44:29 +0000
commit9f1c1c9985fe5c2c4888b8b600ce2e59e037d05e (patch)
tree132c236f98f2a16f10094d8a2e9c53333ba584ef /libavcodec/x264.c
parent212d84881a438e64ddf367f649cd359cfaec4198 (diff)
Make ffmpeg work with x264 r592
Originally committed as revision 6711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x264.c')
-rw-r--r--libavcodec/x264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x264.c b/libavcodec/x264.c
index 4f69f7c01b..c3db9f23cc 100644
--- a/libavcodec/x264.c
+++ b/libavcodec/x264.c
@@ -146,7 +146,7 @@ X264_init(AVCodecContext *avctx)
else{
if(avctx->crf){
x4->params.rc.i_rc_method = X264_RC_CRF;
- x4->params.rc.i_rf_constant = avctx->crf;
+ x4->params.rc.f_rf_constant = avctx->crf;
}else if(avctx->cqp > -1){
x4->params.rc.i_rc_method = X264_RC_CQP;
x4->params.rc.i_qp_constant = avctx->cqp;