mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
core: Fix asserting command in protocol-native
https://scan7.coverity.com:8443/reports.htm#v10206/p10016/fileInstanceId=8690&defectInstanceId=3688&mergedDefectId=591259 Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
d3cddfed5c
commit
94deb3725d
1 changed files with 1 additions and 1 deletions
|
|
@ -4745,7 +4745,7 @@ static void command_set_sink_or_source_port(pa_pdispatch *pd, uint32_t command,
|
|||
} else {
|
||||
pa_source *source;
|
||||
|
||||
pa_assert(command = PA_COMMAND_SET_SOURCE_PORT);
|
||||
pa_assert(command == PA_COMMAND_SET_SOURCE_PORT);
|
||||
|
||||
if (idx != PA_INVALID_INDEX)
|
||||
source = pa_idxset_get_by_index(c->protocol->core->sources, idx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue