shithub: openh264

Download patch

ref: 2b82a5743da777b9c30359bb5db147c32076e4ed
parent: d767e216a8312907dd8c03f12f3e4741b603c852
author: Martin Storsjö <[email protected]>
date: Sun Mar 2 18:23:14 EST 2014

Fix printing an event name for debugging

--- a/codec/encoder/core/src/slice_multi_threading.cpp
+++ b/codec/encoder/core/src/slice_multi_threading.cpp
@@ -435,7 +435,7 @@
     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