mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
Protect shuffle against empty player playlist
This commit is contained in:
@@ -486,6 +486,9 @@ source_shuffle(struct player_source *head)
|
||||
int nitems;
|
||||
int i;
|
||||
|
||||
if (!head)
|
||||
return NULL;
|
||||
|
||||
ps = head;
|
||||
nitems = 0;
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user