shithub: openh264

Download patch

ref: e34a08c0daa12f91c0eb5c2da86817aa0e5b00c4
parent: 6c41cccb814a98b2b4b3ce1d415fadcc38568d5b
parent: 2b82a5743da777b9c30359bb5db147c32076e4ed
author: volvet <qizh@cisco.com>
date: Mon Mar 3 03:58:30 EST 2014

Merge pull request #380 from mstorsjo/fix-debug-printing

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