[vlc-commits] commit: Win32: compile fix (untested) ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)

git at videolan.org git at videolan.org
Mon Dec 6 00:01:16 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec  6 00:41:19 2010 +0200| [588ce05760940696ab64acf1ba52fd5871e8bc64] | committer: Rémi Denis-Courmont 

Win32: compile fix (untested)

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

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

diff --git a/src/win32/thread.c b/src/win32/thread.c
index 2a18c5c..96cd777 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -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;
 }
 



More information about the vlc-commits mailing list