]> git.sesse.net Git - vlc/blobdiff - src/misc/threads.c
- Do not attach libvlc to the global data
[vlc] / src / misc / threads.c
index ccc263c8a4e9e2380e13f922144f34d7941fad49..c2c8ef9788dd95c0f4418e7b878d5e8169a7aa0f 100644 (file)
@@ -117,7 +117,7 @@ int __vlc_threads_init( vlc_object_t *p_this )
 #elif defined( HAVE_CTHREADS_H )
 #endif
 
-        p_root = vlc_object_create( p_libvlc_global, VLC_OBJECT_ROOT );
+        p_root = vlc_object_create( p_libvlc_global, VLC_OBJECT_GLOBAL );
         if( p_root == NULL )
             i_ret = VLC_ENOMEM;