shithub: openh264

Download patch

ref: d93488448e5dc99e1cf85911be88ba879bbbecb2
parent: 968d87045d97f35cec2fd3e0072137d371148287
author: Martin Storsjö <martin@martin.st>
date: Tue Jun 10 05:35:17 EDT 2014

Remove some commented out lines

--- a/codec/common/src/welsCodecTrace.cpp
+++ b/codec/common/src/welsCodecTrace.cpp
@@ -66,7 +66,6 @@
   m_fpInfoTrace = NULL;
   m_fpWarnTrace = NULL;
   m_fpErrorTrace = NULL;
-//	g_bWelsLibLoaded = false;
   m_WelsTraceExistFlag = false;
 }
 
@@ -102,7 +101,6 @@
 #define MAX_LOG_SIZE	1024
 
 void welsCodecTrace::CODEC_TRACE (void* ignore, const int32_t iLevel, const char* Str_Format, va_list vl) {
-//		if(g_traceLevel < iLevel)
   if (m_iTraceLevel < iLevel) {
     return;
   }
@@ -114,7 +112,6 @@
   WelsStrncpy (pBuf, MAX_LOG_SIZE, "[ENCODER]: ");	// confirmed_safe_unsafe_usage
   WelsVsnprintf (pBuf + len, MAX_LOG_SIZE - len, Str_Format, vl);	// confirmed_safe_unsafe_usage
 
-//		g_WelsCodecTrace.TraceString(iLevel, pBuf);
   welsCodecTrace::TraceString (iLevel, pBuf);
 }