Showing the changes to codec/processing/src/common/WelsFrameWork.cpp (1 of 2 files). Show all
Unified · Split
| @@ -91,9 +91,7 @@ CVpFrameWork::CVpFrameWork (uint32_t uiThreadsNum, EResult& eReturn) { · 90 unmodified lines | |||
| 91 | uint32_t uiCPUFlag = WelsCPUFeatureDetect (&iCoreNum); | 91 | uint32_t uiCPUFlag = WelsCPUFeatureDetect (&iCoreNum); |
| 92 | 92 | ||
| 93 | for (int32_t i = 0; i < MAX_STRATEGY_NUM; i++) { | 93 | for (int32_t i = 0; i < MAX_STRATEGY_NUM; i++) { |
| 94 | IStrategy* pStrategy = m_pStgChain[i]; | 94 | m_pStgChain[i] = CreateStrategy (WelsStaticCast (EMethods, i + 1), uiCPUFlag); |
| 95 | pStrategy = CreateStrategy (WelsStaticCast (EMethods, i + 1), uiCPUFlag); | ||
| 96 | m_pStgChain[i] = pStrategy; | ||
| 97 | } | 95 | } |
| 98 | 96 | ||
| 99 | WelsMutexInit (&m_mutes); | 97 | WelsMutexInit (&m_mutes); |