]> git.sesse.net Git - vlc/commitdiff
xspf demuxer: fix extension reading
authorRafaël Carré <funman@videolan.org>
Tue, 13 Nov 2007 18:21:46 +0000 (18:21 +0000)
committerRafaël Carré <funman@videolan.org>
Tue, 13 Nov 2007 18:21:46 +0000 (18:21 +0000)
modules/demux/playlist/xspf.c

index 9b9dec32372924173a386844591eebe606562a0a..6738f058b5862947332ca491d1ccbbafbbb2e893 100644 (file)
@@ -858,11 +858,13 @@ static vlc_bool_t parse_extitem_node COMPLEX_INTERFACE
         return VLC_FALSE;
     }
 
+    /* XXX: We can't check the validity of the 'href' attribute if we do parse
+            the extension before the TrackList
     if( i_href > p_demux->p_sys->i_tracklist_entries )
     {
         msg_Warn( p_demux, "invalid \"href\" attribute" );
         return VLC_FALSE;
-    }
+    }*/
 
     /* fix for #1293 - XTAG sends ENDELEM for self closing tag */
     /* (libxml sends NONE) */