From 49dd062d2e4f097d3af73e0478476f7c39db1cf5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 4 May 2008 19:40:22 +0300 Subject: [PATCH] p_root->p_probe: unused, remove --- src/libvlc.h | 1 - src/misc/devices.c | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libvlc.h b/src/libvlc.h index 9b793a7adb..6a31ff6843 100644 --- a/src/libvlc.h +++ b/src/libvlc.h @@ -115,7 +115,6 @@ struct libvlc_global_data_t vlc_object_t ** pp_objects; ///< Array of all objects module_bank_t * p_module_bank; ///< The module bank - intf_thread_t *p_probe; ///< Devices prober /* Arch-specific variables */ #if defined( SYS_BEOS ) diff --git a/src/misc/devices.c b/src/misc/devices.c index 609786ef0f..e0f839d605 100644 --- a/src/misc/devices.c +++ b/src/misc/devices.c @@ -34,10 +34,11 @@ #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 -- 2.39.5