[x265] [PATCH 3 of 3] ratecontrol: remove repeat initialisations

deepthi at multicorewareinc.com deepthi at multicorewareinc.com
Tue May 6 12:18:10 CEST 2014


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1399371109 -19800
# Node ID 96d6076fe872aa62bc898d4a3a2ae8c7aae4c3eb
# Parent  f824c1f583f8dea91c3685b7d3228f36ac6d4878
ratecontrol: remove repeat initialisations.

diff -r f824c1f583f8 -r 96d6076fe872 source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp	Tue May 06 15:34:19 2014 +0530
+++ b/source/encoder/ratecontrol.cpp	Tue May 06 15:41:49 2014 +0530
@@ -207,8 +207,7 @@
     param->rc.rfConstant = Clip3((double)-QP_BD_OFFSET, (double)51, param->rc.rfConstant);
     param->rc.rfConstantMax = Clip3((double)-QP_BD_OFFSET, (double)51, param->rc.rfConstantMax);
     rateFactorMaxIncrement = 0;
-    vbvMinRate = 0;
-
+    
     if (param->rc.rateControlMode == X265_RC_CRF)
     {
         param->rc.qp = (int)param->rc.rfConstant + QP_BD_OFFSET;


More information about the x265-devel mailing list