mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45: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;
|
int ret;
|
||||||
|
|
||||||
param.spk_id = id;
|
param.spk_id = id;
|
||||||
|
param.spk_info = spk;
|
||||||
|
|
||||||
ret = commands_exec_sync(cmdbase, speaker_get_byid, NULL, ¶m);
|
ret = commands_exec_sync(cmdbase, speaker_get_byid, NULL, ¶m);
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user