shithub: openh264

Download patch

ref: a251504aa29ce23f3c4338f8aff50aa58a991946
parent: 17e610da9fe9a1bf6b7d8a46db4c38b836701f6d
author: Karina <ruil2@cisco.com>
date: Fri Nov 6 08:43:21 EST 2015

remove an useless code line

--- a/codec/encoder/core/src/ratectl.cpp
+++ b/codec/encoder/core/src/ratectl.cpp
@@ -672,10 +672,6 @@
   }
   pSOverRc->iCalculatedQpSlice = WELS_CLIP3 (pSOverRc->iCalculatedQpSlice, pWelsSvcRc->iMinQp, pWelsSvcRc->iMaxQp);
 
-  if (! (((pEncCtx->pSvcParam->iRCMode == RC_BITRATE_MODE) || (pEncCtx->pSvcParam->iRCMode == RC_TIMESTAMP_MODE))
-         && (pEncCtx->pSvcParam->bEnableFrameSkip == false)))
-    pSOverRc->iCalculatedQpSlice = WELS_CLIP3 (pSOverRc->iCalculatedQpSlice, pWelsSvcRc->iMinQp, pWelsSvcRc->iMaxQp);
-
   pSOverRc->iGomBitsSlice = 0;
 
 }