ref: a0b0866597bce121bdace210916274d0a9e63c4e
parent: 1359583c55d4fbb26b5959d320a3559e52861424
parent: b18e9059463464fa3a99aadea57dd2c3acbe65ac
author: ruil2 <[email protected]>
date: Fri Nov 21 06:30:36 EST 2014
Merge pull request #1543 from dongzha/Fix1535 Check and Fix some issue #1535
--- a/codec/processing/src/backgrounddetection/BackgroundDetection.cpp
+++ b/codec/processing/src/backgrounddetection/BackgroundDetection.cpp
@@ -340,7 +340,6 @@
int8_t* pVaaBackgroundMbFlag = (int8_t*)pBgdParam->pBackgroundMbFlag;
SBackgroundOU* pOUNeighbours[4];//0: left; 1: right; 2: top; 3: bottom
- pBackgroundOU = pBgdParam->pOU_array;
pOUNeighbours[2] = pBackgroundOU;//top OU
for (int32_t j = 0; j < iPicHeightInOU; j ++) {
int8_t* pRowSkipFlag = pVaaBackgroundMbFlag;
--- a/codec/processing/src/common/WelsFrameWork.cpp
+++ b/codec/processing/src/common/WelsFrameWork.cpp
@@ -91,9 +91,7 @@
uint32_t uiCPUFlag = WelsCPUFeatureDetect (&iCoreNum);
for (int32_t i = 0; i < MAX_STRATEGY_NUM; i++) {
- IStrategy* pStrategy = m_pStgChain[i];
- pStrategy = CreateStrategy (WelsStaticCast (EMethods, i + 1), uiCPUFlag);
- m_pStgChain[i] = pStrategy;
+ m_pStgChain[i] = CreateStrategy (WelsStaticCast (EMethods, i + 1), uiCPUFlag);
}
WelsMutexInit (&m_mutes);