mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 07:35:57 -05:00
[player] Fix return value in playback_start_item if source_open failed
This commit is contained in:
parent
21d2c95eeb
commit
cd9a3bae07
@ -2346,7 +2346,8 @@ playback_start_item(union player_arg *cmdarg, int *retval, struct queue_item *qi
|
||||
if (ret < 0)
|
||||
{
|
||||
playback_abort();
|
||||
return -1;
|
||||
*retval = -1;
|
||||
return COMMAND_END;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user