Showing the changes to codec/common/src/welsCodecTrace.cpp (1 of 6 files). Show all
Unified · Split
| @@ -83,6 +83,10 @@ void welsCodecTrace::CodecTrace (const int32_t iLevel, const char* Str_Format, v · 82 unmodified lines | |||
| 83 | } | 83 | } |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | void welsCodecTrace::SetCodecInstance (void* pCodecInstance) { | ||
| 87 | m_sLogCtx.pCodecInstance = pCodecInstance; | ||
| 88 | } | ||
| 89 | |||
| 86 | void welsCodecTrace::SetTraceLevel (const int32_t iLevel) { | 90 | void welsCodecTrace::SetTraceLevel (const int32_t iLevel) { |
| 87 | if (iLevel >= 0) | 91 | if (iLevel >= 0) |
| 88 | m_iTraceLevel = iLevel; | 92 | m_iTraceLevel = iLevel; |