ref: cc65a1d76cbc9eb0aca26ebfc5d0bc45ac0426fe
parent: 17fc6bd66ef2b2390afb1614e7d62c1ccf52a375
author: Martin Storsjö <[email protected]>
date: Tue Jun 10 05:51:15 EDT 2014
Don't include a [ENCODER]: prefix in all logging The same trace module is used for the decoder now as well.
--- a/codec/common/src/welsCodecTrace.cpp
+++ b/codec/common/src/welsCodecTrace.cpp
@@ -100,11 +100,7 @@
}
char pBuf[MAX_LOG_SIZE] = {0};
- const int32_t len = strlen ("[ENCODER]: "); // confirmed_safe_unsafe_usage
-
-
- WelsStrncpy (pBuf, MAX_LOG_SIZE, "[ENCODER]: "); // confirmed_safe_unsafe_usage
- WelsVsnprintf (pBuf + len, MAX_LOG_SIZE - len, Str_Format, vl); // confirmed_safe_unsafe_usage
+ WelsVsnprintf (pBuf, MAX_LOG_SIZE, Str_Format, vl); // confirmed_safe_unsafe_usage
welsCodecTrace::TraceString (iLevel, pBuf);
}