mirror of
https://github.com/mpv-player/mpv
synced 2024-09-28 17:52:52 +02:00
playtree: don't try to parse playlists without recognized entries
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31961 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
733dabb37e
commit
55a7d7fb2b
@ -367,6 +367,9 @@ parse_pls(play_tree_parser_t* p) {
|
||||
|
||||
free(entries);
|
||||
|
||||
if (!list)
|
||||
return NULL;
|
||||
|
||||
entry = play_tree_new();
|
||||
play_tree_set_child(entry,list);
|
||||
return entry;
|
||||
|
Loading…
Reference in New Issue
Block a user