All users of the function passed the value corresponding to "infinite", and the (currently unused) unix implementation of it only supported infinite wait as well.
Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 4 files). Show all
Unified · Split
| @@ -749,8 +749,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 748 unmodified lines | ||
| 749 | 749 | do { |
| 750 | 750 | #ifdef _WIN32 |
| 751 | 751 | iWaitRet = WelsMultipleEventsWaitSingleBlocking (iEventCount, |
| 752 | − &pEventsList[0], | |
| 753 | − (uint32_t) - 1); // blocking until at least one event is | |
| 752 | + &pEventsList[0]); // blocking until at least one event is | |
| 754 | 753 | #else |
| 755 | 754 | MT_TRACE_LOG (pEncPEncCtx, WELS_LOG_INFO, |
| 756 | 755 | "[MT] CodingSliceThreadProc(), try to call WelsEventWait(pReadySliceCodingEvent[%d]= 0x%p), pEncPEncCtx= 0x%p!\n", |