[vlc-commits] WinCE: compilation fix

Rémi Denis-Courmont git at videolan.org
Sat Aug 6 11:50:23 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug  6 12:50:13 2011 +0300| [d1cf0636e70b1a04bae71b1677a770e7a9c7af99] | committer: Rémi Denis-Courmont

WinCE: compilation fix

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d1cf0636e70b1a04bae71b1677a770e7a9c7af99
---

 src/win32/thread.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/win32/thread.c b/src/win32/thread.c
index 015c892..ebaaec8 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -68,13 +68,13 @@ DWORD WaitForMultipleObjectsEx (DWORD nCount, const HANDLE *lpHandles,
                                 BOOL bWaitAll, DWORD dwMilliseconds,
                                 BOOL bAlertable)
 {
+    struct vlc_thread *th = vlc_threadvar_get (thread_key);
     HANDLE handles[nCount + 1];
     DWORD ret;
 
     memcpy(handles, lpHandles, nCount * sizeof(HANDLE));
     if (bAlertable)
     {
-        struct vlc_thread *th = vlc_threadvar_get (thread_key);
         if (th != NULL)
         {
             handles[nCount] = th->cancel_event;



More information about the vlc-commits mailing list