From 23afa490b8437080f779fbab6052c860f00f1640 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 3 May 2008 11:41:51 +0300 Subject: [PATCH] threads: use vlc_internals() --- src/misc/threads.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/misc/threads.c b/src/misc/threads.c index 5bf2fa81e2..abc83b1c92 100644 --- a/src/misc/threads.c +++ b/src/misc/threads.c @@ -412,7 +412,7 @@ int __vlc_thread_create( vlc_object_t *p_this, const char * psz_file, int i_line { int i_ret; void *p_data = (void *)p_this; - vlc_object_internals_t *p_priv = p_this->p_internals; + vlc_object_internals_t *p_priv = vlc_internals( p_this ); vlc_mutex_lock( &p_this->object_lock ); @@ -539,7 +539,7 @@ int __vlc_thread_create( vlc_object_t *p_this, const char * psz_file, int i_line int __vlc_thread_set_priority( vlc_object_t *p_this, const char * psz_file, int i_line, int i_priority ) { - vlc_object_internals_t *p_priv = p_this->p_internals; + vlc_object_internals_t *p_priv = vlc_internals( p_this ); #if defined( WIN32 ) || defined( UNDER_CE ) VLC_UNUSED( psz_file); VLC_UNUSED( i_line ); @@ -603,7 +603,7 @@ void __vlc_thread_ready( vlc_object_t *p_this ) *****************************************************************************/ void __vlc_thread_join( vlc_object_t *p_this, const char * psz_file, int i_line ) { - vlc_object_internals_t *p_priv = p_this->p_internals; + vlc_object_internals_t *p_priv = vlc_internals( p_this ); #if defined( UNDER_CE ) || defined( WIN32 ) HMODULE hmodule; -- 2.39.5