X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmisc%2Fdevices.c;h=e779226af9bb36c90236e9cdb7ca18b9c341e918;hb=48c51ebb1336aac7ebb026a128457828782a87d6;hp=609786ef0fe6b96f3bd51d2e09f4177307783b92;hpb=449fd28aaf007c6411251dae9d0dbfdc65b135d1;p=vlc diff --git a/src/misc/devices.c b/src/misc/devices.c index 609786ef0f..e779226af9 100644 --- a/src/misc/devices.c +++ b/src/misc/devices.c @@ -30,14 +30,15 @@ # include "config.h" #endif -#include +#include #include #include +static intf_thread_t *p_probe_thread = NULL; + void devices_ProbeCreate( vlc_object_t *p_this ) { intf_thread_t * p_probe; - p_this->p_libvlc_global->p_probe = NULL; /* Allocate structure */ p_probe = vlc_object_create( p_this, VLC_OBJECT_INTF ); @@ -54,7 +55,7 @@ void devices_ProbeCreate( vlc_object_t *p_this ) return; } - p_this->p_libvlc_global->p_probe = p_probe; + p_probe_thread = p_probe; } #endif