diff x264.c @ 4030:ffe1b004ecc7 libavcodec

Make ffmpeg work with x264 r592
author lu_zero
date Mon, 16 Oct 2006 17:44:29 +0000
parents c8c591fe26f8
children 903017d72ffe
line wrap: on
line diff
--- a/x264.c	Mon Oct 16 15:01:12 2006 +0000
+++ b/x264.c	Mon Oct 16 17:44:29 2006 +0000
@@ -146,7 +146,7 @@
     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;