]> git.sesse.net Git - vlc/blobdiff - modules/services_discovery/shout.c
Fix a memory leak
[vlc] / modules / services_discovery / shout.c
index b66e9b0777ec1a6ed1d0633e858dc802da03efa7..cdb6d706cce3c0e7ee0f1ed80989e864d4c7a7df 100644 (file)
  * Includes
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_services_discovery.h>
 
@@ -55,7 +59,7 @@ struct shout_item_t
 /* WARN: We support only two levels */
 
 static const struct shout_item_t p_frenchtv_canalplus[] = {
-    item( N_("Les Guignols"), "http://www.canalplus.fr/index.php?pid=1784" ),
+    itemWithOption( N_("Les Guignols"), "http://www.canalplus.fr/index.php?pid=1784", "http-forward-cookies" ),
     endItem()
 };
     
@@ -67,7 +71,7 @@ static const struct shout_item_t p_frenchtv[] = {
 static const struct shout_item_t p_items[] = {
     item(            N_("Shoutcast Radio"), "http/shout-winamp://www.shoutcast.com/sbin/newxml.phtml" ),
     item(            N_("Shoutcast TV"),    "http/shout-winamp://www.shoutcast.com/sbin/newtvlister.phtml?alltv=1" ),
-    itemWithOption ( N_("Freebox TV"),      "http://mafreebox.freebox.fr/freeboxtv/playlist.m3u", "m3u-extvlcopt=1" ),
+    item(            N_("Freebox TV"),      "http://mafreebox.freebox.fr/freeboxtv/playlist.m3u" ),
     itemWithChildren(N_("French TV"),        p_frenchtv ),
     endItem()
 };
@@ -240,4 +244,5 @@ static void Run( services_discovery_t *p_sd )
  *****************************************************************************/
 static void Close( vlc_object_t *p_this )
 {
+    VLC_UNUSED(p_this);
 }