shithub: openh264

Download patch

ref: 61067d488fd7b4a66845863fcbd9bed14030a4f0
parent: fe766fec2f08942c7489357b7e13aab6b7cbd0a2
author: Martin Storsjö <[email protected]>
date: Tue Feb 18 05:19:35 EST 2014

Fix building with MT_DEBUG enabled after the encoder interface update

There is no struct named SMulSliceOption any longer.

--- a/codec/encoder/core/src/slice_multi_threading.cpp
+++ b/codec/encoder/core/src/slice_multi_threading.cpp
@@ -1459,7 +1459,7 @@
   while (iSpatialIdx < iSpatialNum) {
     const int32_t kiDid		= pDidList[iSpatialIdx];
     SDLayerParam* pDlp		= &pPara->sDependencyLayers[kiDid];
-    SMulSliceOption* pMso	= &pDlp->sSliceCfg;
+    SSliceConfig* pMso		= &pDlp->sSliceCfg;
     SDqLayer* pCurDq		= pCtx->ppDqLayerList[kiDid];
     SSliceCtx* pSliceCtx = pCurDq->pSliceEncCtx;
     const uint32_t kuiCountSliceNum = pSliceCtx->iSliceNumInFrame;