Check and Fix some issue#1535

This commit is contained in:
dong zhang
2014-11-19 16:03:34 +08:00
parent c13bfe6407
commit b18e905946
2 changed files with 1 additions and 4 deletions

View File

@@ -340,7 +340,6 @@ void CBackgroundDetection::ForegroundDilationAndBackgroundErosion (vBGDParam* pB
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;

View File

@@ -91,9 +91,7 @@ CVpFrameWork::CVpFrameWork (uint32_t uiThreadsNum, EResult& eReturn) {
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);