]> git.sesse.net Git - vlc/blobdiff - modules/services_discovery/upnp_intel.cpp
When using contribs, don't set --with-a52-tree or --with-libmpeg2-tree
[vlc] / modules / services_discovery / upnp_intel.cpp
index b8db719b8b44874c440e19d64dac1b3f85fc711d..d269e04c3492624c6ec9cc5710ad384a507376fa 100644 (file)
@@ -347,7 +347,7 @@ static void Run( services_discovery_t* p_sd )
     }
 
     msg_Dbg( p_sd, "UPnP discovery started" );
-    while( !p_sd->b_die )
+    while( vlc_object_alive (p_sd) )
     {
         msleep( 500 );
     }