Win32: compile fix (untested)
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 5 Dec 2010 22:41:19 +0000 (00:41 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 5 Dec 2010 22:42:05 +0000 (00:42 +0200)
src/win32/thread.c

index 2a18c5c..96cd777 100644 (file)
@@ -522,7 +522,7 @@ void vlc_threads_setup (libvlc_int_t *p_libvlc)
     (void) p_libvlc;
 }
 
-static void vlc_thread_cleanup (vlc_thread_t *th)
+static void vlc_thread_cleanup (struct vlc_thread *th)
 {
     vlc_threadvar_t key;
 
@@ -559,7 +559,7 @@ static unsigned __stdcall vlc_entry (void *p)
     vlc_threadvar_set (thread_key, th);
     th->killable = true;
     th->data = th->entry (th->data);
-    vlc_thread_exit (th);
+    vlc_thread_cleanup (th);
     return 0;
 }