shithub: openh264

Download patch

ref: 968d87045d97f35cec2fd3e0072137d371148287
parent: 40af75c19dc767affd869de87b29392744c8241d
author: Martin Storsjö <martin@martin.st>
date: Tue Jun 10 05:49:27 EDT 2014

Remove an unnecessary local function

--- a/codec/common/src/utils.cpp
+++ b/codec/common/src/utils.cpp
@@ -65,14 +65,10 @@
   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);
 }