Commit 7c224751 authored by hartman's avatar hartman
Browse files

xspf: Fix a crash on track elements without a location

A <track> can have 0 or more <location> elements. VLC doesn't like elements without a uri however, so init an element with vlc://nop. Note also that we currently only support 1 location element per track....

This closes #2891
parent 1d341492
......@@ -416,7 +416,7 @@ static bool parse_track_node COMPLEX_INTERFACE
input_item_t *p_new_input = input_item_New( p_demux, NULL, NULL );
input_item_t *p_new_input = input_item_New( p_demux, "vlc://nop", NULL );
if( !p_new_input )
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