vlc | branch: master | Pierre Ynard <[email protected]> | Wed Dec  1 19:13:46 
2010 +0100| [da1d348a0be6862e1e0dc6f295968a595fd8cf62] | committer: Pierre 
Ynard 

wince: build fix

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

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

diff --git a/src/win32/thread.c b/src/win32/thread.c
index 0c42284..ddbee72 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -588,11 +588,10 @@ int vlc_clone (vlc_thread_t *p_handle, void * (*entry) 
(void *), void *data,
         free (th);
         return ENOMEM;
     }
-    entry_data->cancel_event = th->cancel_event;
 
     /* Not sure if CREATE_SUSPENDED + ResumeThread() is any useful on WinCE.
      * Thread handles act up, too. */
-    hThread = CreateThread (NULL, 128*1024, vlc_entry, entry_data,
+    hThread = CreateThread (NULL, 128*1024, vlc_entry, th,
                             CREATE_SUSPENDED, NULL);
     if (hThread == NULL)
     {

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to