Check and Fix some issue#1535
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user