]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/podcast.c
opengl: disable the broken mac-specific code
[vlc] / modules / demux / playlist / podcast.c
index 68bb37d7d633e3eb49ad394914468b73406b6a21..f346a0b07721fa99b529a40bd5316e850d9eea61 100644 (file)
@@ -135,7 +135,7 @@ static int Demux( demux_t *p_demux )
                 {
                     if( !strcmp( node, "enclosure" ) )
                     {
-                        const char **p = NULL;
+                        char **p = NULL;
                         if( !strcmp( attr, "url" ) )
                             p = &psz_item_mrl;
                         else if( !strcmp( attr, "length" ) )
@@ -243,7 +243,7 @@ static int Demux( demux_t *p_demux )
                         goto error;
                     }
 
-                    p_input = input_item_New( p_demux, psz_item_mrl, psz_item_name );
+                    p_input = input_item_New( psz_item_mrl, psz_item_name );
                     FREENULL( psz_item_mrl );
                     FREENULL( psz_item_name );
 
@@ -286,7 +286,7 @@ static int Demux( demux_t *p_demux )
                     vlc_gc_decref( p_input );
                     b_item = false;
                 }
-                else if( !strcmp( psz_elname, "image" ) )
+                else if( !strcmp( node, "image" ) )
                 {
                     b_image = false;
                 }