mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-link-factory: fix wrong goto label
harmless, but leads to a wrong error message being printed
This commit is contained in:
parent
7a7a12138f
commit
40a5063b9f
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ static void *create_object(void *_data,
|
|||
else {
|
||||
global = pw_core_find_global(core, input_port_id);
|
||||
if (global == NULL || pw_global_get_type(global) != PW_TYPE_INTERFACE_Port)
|
||||
goto no_output_port;
|
||||
goto no_input_port;
|
||||
|
||||
inport = pw_global_get_object(global);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue