[vlc-devel] [PATCHv3 10/12] microdns: remove module_exists

Thomas Guillem thomas at gllm.fr
Tue Mar 29 15:06:41 CEST 2016


From: Steve Lhomme <robux4 at videolabs.io>

---
 modules/services_discovery/microdns.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/services_discovery/microdns.c b/modules/services_discovery/microdns.c
index d917146..06f883e 100644
--- a/modules/services_discovery/microdns.c
+++ b/modules/services_discovery/microdns.c
@@ -486,8 +486,7 @@ Open( vlc_object_t *p_obj )
 
     for( unsigned int i = 0; i < i_count; ++i )
     {
-        if( protocols[i].b_renderer == b_renderer
-         && module_exists( protocols[i].psz_protocol ) )
+        if( protocols[i].b_renderer == b_renderer )
             p_sys->ppsz_service_names[p_sys->i_nb_service_names++] =
                 protocols[i].psz_service_name;
     }
-- 
2.8.0.rc3



More information about the vlc-devel mailing list