Showing the changes to codec/common/src/utils.cpp (1 of 1 file). Show all
Unified · Split
| @@ -65,14 +65,10 @@ void WelsSetLogCallback (PWelsLogCallbackFunc _log) { · 64 unmodified lines | |||
| 65 | wlog = _log; | 65 | wlog = _log; |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | void WelsLogCall (void* pCtx, int32_t iLevel, const char* kpFmt, va_list vl) { | ||
| 69 | wlog (pCtx, iLevel, kpFmt, vl); | ||
| 70 | } | ||
| 71 | |||
| 72 | void WelsLog (void* pCtx, int32_t iLevel, const char* kpFmt, ...) { | 68 | void WelsLog (void* pCtx, int32_t iLevel, const char* kpFmt, ...) { |
| 73 | va_list vl; | 69 | va_list vl; |
| 74 | va_start (vl, kpFmt); | 70 | va_start (vl, kpFmt); |
| 75 | WelsLogCall (pCtx, iLevel, kpFmt, vl); | 71 | wlog (pCtx, iLevel, kpFmt, vl); |
| 76 | va_end (vl); | 72 | va_end (vl); |
| 77 | } | 73 | } |
| 78 | 74 | ||