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 4abca0a..ed5cbc9 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 );
 }
 
 /*****************************************************************************