[vlc-devel] commit: Win32: compile fix ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Aug 2 14:30:16 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 2 15:00:20 2009 +0300| [5dc04132dee48930b11ef3820f86040c8a924bff] | committer: Rémi Denis-Courmont
Win32: compile fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5dc04132dee48930b11ef3820f86040c8a924bff
---
src/misc/threads.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/misc/threads.c b/src/misc/threads.c
index 0f9821f..5dd6f12 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -148,7 +148,7 @@ int __vlc_thread_set_priority( vlc_object_t *p_this, const char * psz_file,
#elif defined( WIN32 ) || defined( UNDER_CE )
VLC_UNUSED( psz_file); VLC_UNUSED( i_line );
- if( !SetThreadPriority(p_priv->thread_id->handle, i_priority) )
+ if( !SetThreadPriority(p_priv->thread_id, i_priority) )
{
msg_Warn( p_this, "couldn't set a faster priority" );
return 1;
@@ -176,7 +176,7 @@ void __vlc_thread_join( vlc_object_t *p_this )
#ifndef UNDER_CE
if( ! DuplicateHandle(GetCurrentProcess(),
- p_priv->thread_id->handle,
+ p_priv->thread_id,
GetCurrentProcess(),
&hThread,
0,
More information about the vlc-devel
mailing list