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

Compile fix

parent 4b4f77c3
......@@ -834,14 +834,14 @@ int __var_Get( vlc_object_t *p_this, const char *psz_name, vlc_value_t *p_val )
*/
vlc_mutex_t *var_GetGlobalMutex( const char *name )
{
libvlc_global_data_t *p_global = vlc_global_object();
vlc_object_t *p_global = vlc_global_object();
vlc_value_t val;
if( var_Create( p_global, name, VLC_VAR_MUTEX ) )
return NULL;
var_Get( p_global, &val );
return val.p_lockval;
var_Get( p_global, name, &val );
return val.p_address;
}
......
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