Merge pull request #675 from chme/player_segfault
[player] Fix segfault when getting single speaker/output by id
This commit is contained in:
commit
1ae24dcf49
|
@ -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