Commit 106205be authored by Steve Lhomme's avatar Steve Lhomme Committed by Hugo Beauzée-Luyssen

win32:thread: keep INFINITE condition wait intact

Signed-off-by: Hugo Beauzée-Luyssen's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 5d0301b9
...@@ -272,7 +272,7 @@ static int vlc_cond_wait_delay(vlc_cond_t *wait, vlc_mutex_t *lock, ...@@ -272,7 +272,7 @@ static int vlc_cond_wait_delay(vlc_cond_t *wait, vlc_mutex_t *lock,
{ {
if (ms < 0) if (ms < 0)
ms = 0; ms = 0;
if (ms > 0x7fffffff) if (ms > 0x7fffffff && ms != INFINITE)
ms = 0x7fffffff; ms = 0x7fffffff;
DWORD delay = ms; DWORD delay = ms;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment