Commit da1d348a authored by Pierre Ynard's avatar Pierre Ynard

wince: build fix

parent 09a29d9e
...@@ -588,11 +588,10 @@ int vlc_clone (vlc_thread_t *p_handle, void * (*entry) (void *), void *data, ...@@ -588,11 +588,10 @@ int vlc_clone (vlc_thread_t *p_handle, void * (*entry) (void *), void *data,
free (th); free (th);
return ENOMEM; return ENOMEM;
} }
entry_data->cancel_event = th->cancel_event;
/* Not sure if CREATE_SUSPENDED + ResumeThread() is any useful on WinCE. /* Not sure if CREATE_SUSPENDED + ResumeThread() is any useful on WinCE.
* Thread handles act up, too. */ * 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); CREATE_SUSPENDED, NULL);
if (hThread == NULL) if (hThread == NULL)
{ {
......
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