[vlc-devel] [PATCH 3/7] upnp: m_sd is never changed

Steve Lhomme robux4 at videolabs.io
Wed Jun 1 16:38:06 CEST 2016


---
 modules/services_discovery/upnp.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/services_discovery/upnp.hpp b/modules/services_discovery/upnp.hpp
index d38ebe3..4b46c52 100644
--- a/modules/services_discovery/upnp.hpp
+++ b/modules/services_discovery/upnp.hpp
@@ -112,7 +112,7 @@ private:
     std::string getIconURL( IXML_Element* p_device_elem , const char* psz_base_url );
 
 private:
-    services_discovery_t* m_sd;
+    services_discovery_t* const m_sd;
     std::vector<MediaServerDesc*> m_list;
     vlc_mutex_t m_lock;
 };
-- 
2.8.1



More information about the vlc-devel mailing list