shithub: openh264

Download patch

ref: edc6aa8fa2bc16aa36419e39a9c697a75ff9665b
parent: de935a52371fc7913cfe26e0ac07fef67e93c876
author: Martin Storsjö <[email protected]>
date: Thu Jan 23 09:47:37 EST 2014

Only print detected cpu info when in debug mode

The ifdef guards from this block were (accidentally?) commented
out in ec84f4bc.

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -1966,7 +1966,7 @@
            uiCpuCores,
            iCacheLineSize);
 
-//#ifdef _DEBUG	// output at console & _debug
+#ifdef _DEBUG	// output at console & _debug
   fprintf (stderr, "WELS CPU features/capacities (0x%x) detected: \n"	\
            "HTT:      %c, "	\
            "MMX:      %c, "	\
@@ -2009,7 +2009,7 @@
            (uiCpuFeatureFlags & WELS_CPU_AES) ? 'Y' : 'N',
            uiCpuCores,
            iCacheLineSize);
-//#endif//_DEBUG
+#endif//_DEBUG
 }
 
 /*!