History

modify trace output

ruil2 committed 12 years ago

Commit ef7cce31 parent b9058e41 file · +2 −5Browse files

Showing the changes to codec/common/src/utils.cpp (1 of 1 file). Show all

Unified · Split

codec/common/src/utils.cpp+2−5
@@ -68,12 +68,9 @@ void WelsLog (SLogContext* logCtx, int32_t iLevel, const char* kpFmt, ...) { · 67 unmodified lines
68 WelsSnprintf (pTraceTag, MAX_LOG_SIZE, "[OpenH264] Detail:");68 WelsSnprintf (pTraceTag, MAX_LOG_SIZE, "[OpenH264] Detail:");
69 break;69 break;
70 }70 }
71 va_start (vl, pTraceTag);71 WelsStrcat(pTraceTag,MAX_LOG_SIZE,kpFmt);
72 logCtx->pfLog (logCtx->pLogCtx, iLevel, pTraceTag, vl);
73 va_end (vl);
74
75 va_start (vl, kpFmt);72 va_start (vl, kpFmt);
76 logCtx->pfLog (logCtx->pLogCtx, iLevel, kpFmt, vl);73 logCtx->pfLog (logCtx->pLogCtx, iLevel, pTraceTag, vl);
77 va_end (vl);74 va_end (vl);
78}75}
79 76

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t