mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
spa: clean up some port io checks
We should not generate a warning.
This commit is contained in:
parent
2fa1b4384b
commit
9123710971
7 changed files with 42 additions and 43 deletions
|
|
@ -730,8 +730,8 @@ static int impl_node_process(void *object)
|
|||
spa_return_val_if_fail(this != NULL, -EINVAL);
|
||||
|
||||
outport = GET_OUT_PORT(this, 0);
|
||||
outio = outport->io;
|
||||
spa_return_val_if_fail(outio != NULL, -EIO);
|
||||
if ((outio = outport->io) == NULL)
|
||||
return -EIO;
|
||||
|
||||
spa_log_trace_fp(this->log, "%p: status %p %d %d",
|
||||
this, outio, outio->status, outio->buffer_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue