Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2500,14 +2500,6 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 2499 unmodified lines | |||
| 2500 | return iRet; | 2500 | return iRet; |
| 2501 | } | 2501 | } |
| 2502 | 2502 | ||
| 2503 | if (pCodingParam->iMultipleThreadIdc > 1) { | ||
| 2504 | iRet = CreateSliceThreads (pCtx); | ||
| 2505 | if (iRet != 0) { | ||
| 2506 | WelsLog (pLogCtx, WELS_LOG_ERROR, "WelsInitEncoderExt(), CreateSliceThreads failed return %d.", iRet); | ||
| 2507 | FreeMemorySvc (&pCtx); | ||
| 2508 | return iRet; | ||
| 2509 | } | ||
| 2510 | } | ||
| 2511 | if (pCodingParam->iEntropyCodingModeFlag) | 2503 | if (pCodingParam->iEntropyCodingModeFlag) |
| 2512 | WelsCabacInit (pCtx); | 2504 | WelsCabacInit (pCtx); |
| 2513 | WelsRcInitModule (pCtx, pCtx->pSvcParam->iRCMode); | 2505 | WelsRcInitModule (pCtx, pCtx->pSvcParam->iRCMode); |