Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 4 files). Show all
Unified · Split
| @@ -2123,9 +2123,9 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 2122 unmodified lines | ||
| 2123 | 2123 | } |
| 2124 | 2124 | |
| 2125 | 2125 | #if defined(MEMORY_MONITOR) |
| 2126 | − WelsLog (pCtx, WELS_LOG_INFO, "WelsInitEncoderExt() exit, overall memory usage: %zu bytes\n", | |
| 2127 | − sizeof (sWelsEncCtx) /* requested size from malloc() or new operator */ | |
| 2128 | − + pCtx->pMemAlign->WelsGetMemoryUsage() /* requested size from CMemoryAlign::WelsMalloc() */ | |
| 2126 | + WelsLog (pCtx, WELS_LOG_INFO, "WelsInitEncoderExt() exit, overall memory usage: %u bytes\n", | |
| 2127 | + static_cast<unsigned int>(sizeof (sWelsEncCtx) /* requested size from malloc() or new operator */ | |
| 2128 | + + pCtx->pMemAlign->WelsGetMemoryUsage()) /* requested size from CMemoryAlign::WelsMalloc() */ | |
| 2129 | 2129 | ); |
| 2130 | 2130 | #endif//MEMORY_MONITOR |
| 2131 | 2131 | |