shithub: openh264

Download patch

ref: ba1de16ac219dabec8caae041144829ff23cc01f
parent: ab4fe3fdf477c4e3e796be943d8ee4fbb5a14f51
author: Martin Storsjö <[email protected]>
date: Tue Jun 10 05:28:45 EDT 2014

Make internal logging variables static

This avoids polluting the global namespace.

--- a/codec/common/src/utils.cpp
+++ b/codec/common/src/utils.cpp
@@ -48,8 +48,8 @@
                     const int32_t kiHeight);
 
 
-iWelsLogLevel		g_iLevelLog	= WELS_LOG_DEFAULT;	// default log iLevel
-PWelsLogCallbackFunc	wlog;
+static iWelsLogLevel		g_iLevelLog	= WELS_LOG_DEFAULT;	// default log iLevel
+static PWelsLogCallbackFunc	wlog;
 
 /*!
  *************************************************************************************