Remove an unnecessary local function

This commit is contained in:
Martin Storsjö 2014-06-10 09:49:27 +03:00
parent 40af75c19d
commit 968d87045d

View File

@ -65,14 +65,10 @@ void WelsSetLogCallback (PWelsLogCallbackFunc _log) {
wlog = _log;
}
void WelsLogCall (void* pCtx, int32_t iLevel, const char* kpFmt, va_list vl) {
wlog (pCtx, iLevel, kpFmt, vl);
}
void WelsLog (void* pCtx, int32_t iLevel, const char* kpFmt, ...) {
va_list vl;
va_start (vl, kpFmt);
WelsLogCall (pCtx, iLevel, kpFmt, vl);
wlog (pCtx, iLevel, kpFmt, vl);
va_end (vl);
}