mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
[player] Fix segfault when getting single speaker/output by id
This commit is contained in:
parent
fbc2440ec1
commit
238361ea25
@ -3166,6 +3166,7 @@ player_speaker_get_byid(uint64_t id, struct player_speaker_info *spk)
|
||||
int ret;
|
||||
|
||||
param.spk_id = id;
|
||||
param.spk_info = spk;
|
||||
|
||||
ret = commands_exec_sync(cmdbase, speaker_get_byid, NULL, ¶m);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user