Fix printing an event name for debugging

This commit is contained in:
Martin Storsjö 2014-03-02 23:23:14 +02:00
parent d767e216a8
commit 2b82a5743d

View File

@ -435,7 +435,7 @@ int32_t RequestMtResource (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPara
err = WelsEventOpen (&pSmt->pReadySliceCodingEvent[iIdx], name);
#if defined(ENABLE_TRACE_MT)
WelsLog ((*ppCtx), WELS_LOG_INFO, "[MT] Open pReadySliceCodingEvent%d = 0x%p named(%s) ret%d err%d\n", iIdx,
(void*)pSmt->pReadySliceCodingEvent[iIdx], (void*) (*ppCtx), err, errno);
(void*)pSmt->pReadySliceCodingEvent[iIdx], name, err, errno);
#endif
#endif//_WIN32