Showing the changes to codec/common/src/utils.cpp (1 of 7 files). Show all
Unified · Split
| @@ -48,8 +48,7 @@ float WelsCalcPsnr (const void* kpTarPic, · 47 unmodified lines | ||
| 48 | 48 | const int32_t kiHeight); |
| 49 | 49 | |
| 50 | 50 | |
| 51 | −void WelsLog (void* pCtx, int32_t iLevel, const char* kpFmt, ...) { | |
| 52 | − SLogContext* logCtx = (SLogContext*) pCtx; | |
| 51 | +void WelsLog (SLogContext* logCtx, int32_t iLevel, const char* kpFmt, ...) { | |
| 53 | 52 | va_list vl; |
| 54 | 53 | va_start (vl, kpFmt); |
| 55 | 54 | logCtx->pfLog (logCtx->pLogCtx, iLevel, kpFmt, vl); |