Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2123,7 +2123,7 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 2122 unmodified lines | ||
| 2123 | 2123 | |
| 2124 | 2124 | WelsRcInitModule (pCtx, pCtx->pSvcParam->bEnableRc ? WELS_RC_GOM : WELS_RC_DISABLE); |
| 2125 | 2125 | |
| 2126 | − pCtx->pVpp = new CWelsPreProcess ((void*)pCtx); | |
| 2126 | + pCtx->pVpp = new CWelsPreProcess (pCtx); | |
| 2127 | 2127 | if (pCtx->pVpp == NULL) { |
| 2128 | 2128 | WelsLog (pCtx, WELS_LOG_ERROR, "WelsInitEncoderExt(), pOut of memory in case new CWelsPreProcess().\n"); |
| 2129 | 2129 | FreeMemorySvc (&pCtx); |