This avoids polluting the global namespace.
Showing the changes to codec/common/src/utils.cpp (1 of 1 file). Show all
Unified · Split
| @@ -48,8 +48,8 @@ float WelsCalcPsnr (const void* kpTarPic, · 47 unmodified lines | |||
| 48 | const int32_t kiHeight); | 48 | const int32_t kiHeight); |
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | iWelsLogLevel g_iLevelLog = WELS_LOG_DEFAULT; // default log iLevel | 51 | static iWelsLogLevel g_iLevelLog = WELS_LOG_DEFAULT; // default log iLevel |
| 52 | PWelsLogCallbackFunc wlog; | 52 | static PWelsLogCallbackFunc wlog; |
| 53 | 53 | ||
| 54 | /*! | 54 | /*! |
| 55 | ************************************************************************************* | 55 | ************************************************************************************* |