]> git.sesse.net Git - vlc/commitdiff
modules/services_discovery/shout.c: Use services_discovery.h instead of playlist.h.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 11 Oct 2007 09:32:09 +0000 (09:32 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 11 Oct 2007 09:32:09 +0000 (09:32 +0000)
modules/services_discovery/shout.c

index 4abca0acef19913797ab940d9d0a13010ff0e811..ed5cbc944230cf4c50fe8ca935e4a48153b10eb1 100644 (file)
@@ -27,7 +27,7 @@
  *****************************************************************************/
 
 #include <vlc/vlc.h>
-#include <vlc_playlist.h>
+#include <vlc_services_discovery.h>
 #include <vlc_interface.h>
 
 #include <vlc_network.h>
@@ -147,7 +147,7 @@ static void Run( services_discovery_t *p_sd )
     p_sd->p_sys->p_input->b_prefers_tree = VLC_TRUE;
     services_discovery_AddItem( p_sd, p_sd->p_sys->p_input, NULL /* no category */ );
 
-    input_Read( pl_Yield(p_sd), p_sd->p_sys->p_input, VLC_FALSE );
+    input_Read( p_sd, p_sd->p_sys->p_input, VLC_FALSE );
 }
 
 /*****************************************************************************