shithub: openh264

Download patch

ref: 5be179e0aac230b0eeb493c228d27a3623b8ccb3
parent: e34a08c0daa12f91c0eb5c2da86817aa0e5b00c4
parent: 26d66a4e1f42183e3d7c6a2496a1791ac55a1efe
author: volvet <[email protected]>
date: Mon Mar 3 04:00:59 EST 2014

Merge pull request #378 from mstorsjo/fix-building-debug-code

Fix building a logging statement in debug code

--- a/codec/encoder/core/src/slice_multi_threading.cpp
+++ b/codec/encoder/core/src/slice_multi_threading.cpp
@@ -863,7 +863,7 @@
 #if defined(ENABLE_TRACE_MT)
     WelsLog (pEncPEncCtx, WELS_LOG_INFO,
              "[MT] CodingSliceThreadProc(), try to call WelsEventWait(pReadySliceCodingEvent[%d]= 0x%p), pEncPEncCtx= 0x%p!\n",
-             iEventIdx, (void*) (pEncPEncCtx->pReadySliceCodingEvent[iEventIdx]), (void*)pEncPEncCtx);
+             iEventIdx, (void*) (pEncPEncCtx->pSliceThreading->pReadySliceCodingEvent[iEventIdx]), (void*)pEncPEncCtx);
 #endif
     iWaitRet = WelsEventWait (pEncPEncCtx->pSliceThreading->pReadySliceCodingEvent[iEventIdx]);
 #endif//WIN32