[player] Fix segfault when getting single speaker/output by id

This commit is contained in:
chme 2019-01-26 17:50:30 +01:00
parent fbc2440ec1
commit 238361ea25

View File

@ -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, &param);
return ret;