Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 2 files). Show all
Unified · Split
| @@ -1892,7 +1892,7 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 1891 unmodified lines | ||
| 1892 | 1892 | #endif//ENABLE_TRACE_FILE |
| 1893 | 1893 | |
| 1894 | 1894 | pCodingParam->DetermineTemporalSettings(); |
| 1895 | − iRet = AllocCodingParam (&pCtx->pSvcParam, pCtx->pMemAlign, pCodingParam->iSpatialLayerNum); | |
| 1895 | + iRet = AllocCodingParam (&pCtx->pSvcParam, pCtx->pMemAlign); | |
| 1896 | 1896 | if (iRet != 0) { |
| 1897 | 1897 | FreeMemorySvc (&pCtx); |
| 1898 | 1898 | return iRet; |