Adjust WELS_EVENT definitions to allow sharing more code between unix and win32 codepaths
Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 6 files). Show all
Unified · Split
| @@ -3306,7 +3306,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo * pFbi, const SSou · 3305 unmodified lines | ||
| 3306 | 3306 | if (iIndexOfSliceToBeCoded >= iSliceCount) |
| 3307 | 3307 | break; |
| 3308 | 3308 | pCtx->pSliceThreading->pThreadPEncCtx[iThreadIdx].iSliceIndex = iIndexOfSliceToBeCoded; |
| 3309 | − WelsEventSignal (pCtx->pSliceThreading->pReadySliceCodingEvent[iThreadIdx]); | |
| 3309 | + WelsEventSignal (&pCtx->pSliceThreading->pReadySliceCodingEvent[iThreadIdx]); | |
| 3310 | 3310 | |
| 3311 | 3311 | ++ iIndexOfSliceToBeCoded; |
| 3312 | 3312 | ++ iThreadIdx; |