Commit 23afa490 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

threads: use vlc_internals()

parent 65a9c5b2
...@@ -412,7 +412,7 @@ int __vlc_thread_create( vlc_object_t *p_this, const char * psz_file, int i_line ...@@ -412,7 +412,7 @@ int __vlc_thread_create( vlc_object_t *p_this, const char * psz_file, int i_line
{ {
int i_ret; int i_ret;
void *p_data = (void *)p_this; 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 ); 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 ...@@ -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 __vlc_thread_set_priority( vlc_object_t *p_this, const char * psz_file,
int i_line, int i_priority ) 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 ) #if defined( WIN32 ) || defined( UNDER_CE )
VLC_UNUSED( psz_file); VLC_UNUSED( i_line ); VLC_UNUSED( psz_file); VLC_UNUSED( i_line );
...@@ -603,7 +603,7 @@ void __vlc_thread_ready( vlc_object_t *p_this ) ...@@ -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 ) 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 ) #if defined( UNDER_CE ) || defined( WIN32 )
HMODULE hmodule; HMODULE hmodule;
......
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