Commit 9f8aa0ff authored by Rafaël Carré's avatar Rafaël Carré

xspf demuxer: fix extension reading

parent d5a0120d
......@@ -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) */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment