ref: cd3ebfa3d4b434a5abb1b6c21c34d802470638b4
parent: b4a9e99823eb2e931d3bef78590d01a20a070f1e
author: Sijia Chen <[email protected]>
date: Mon Mar 16 11:01:14 EDT 2015
fix the usage of a rc variable
--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -4097,7 +4097,7 @@
pCtx->pFuncList->pfRc.pfWelsRcPictureInfoUpdate (pCtx, iLayerSize);
RcTraceFrameBits (pCtx, pSrcPic->uiTimeStamp);
- pCtx->pDecPic->iFrameAverageQp = pCtx->pWelsSvcRc->iAverageFrameQp;
+ pCtx->pDecPic->iFrameAverageQp = pCtx->pWelsSvcRc[iDidIdx].iAverageFrameQp;
//update scc related
pCtx->pFuncList->pfUpdateFMESwitch (pCtx->pCurDqLayer);