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:
siretart 2010-08-13 16:00:18 +00:00 committed by Uoti Urpala
parent 733dabb37e
commit 55a7d7fb2b
1 changed files with 3 additions and 0 deletions

View File

@ -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;