Merge pull request #675 from chme/player_segfault

[player] Fix segfault when getting single speaker/output by id
This commit is contained in:
ejurgensen 2019-01-26 21:49:35 +01:00 committed by GitHub
commit 1ae24dcf49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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;