]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/shoutcast.c
Includes corrections
[vlc] / modules / demux / playlist / shoutcast.c
index cd78bd8e978ec11766cc09726a47f3c7330b12a2..99d6e29cd7d86af4c1ecb9346dea038b837e0391 100644 (file)
@@ -34,7 +34,7 @@
 #include <vlc_demux.h>
 
 #include "playlist.h"
-#include "vlc_xml.h"
+#include <vlc_xml.h>
 
 struct demux_sys_t
 {
@@ -402,8 +402,10 @@ static int DemuxStation( demux_t *p_demux )
                     input_item_CopyOptions( p_sys->p_current_input, p_input );
                     free( psz_mrl );
 
-#define SADD_INFO( type, field ) if( field ) { input_item_AddInfo( \
-                    p_input, _("Shoutcast"), gettext(type), "%s", field ) ; }
+#define SADD_INFO( type, field ) \
+                    if( field ) \
+                        input_item_AddInfo( p_input, _("Shoutcast"), \
+                                            vlc_gettext(type), "%s", field )
                     SADD_INFO( N_("Mime"), psz_mt );
                     SADD_INFO( N_("Bitrate"), psz_br );
                     SADD_INFO( N_("Listeners"), psz_lc );