mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
filter: ENOSPC is the error when we can't deref
This commit is contained in:
parent
7a29c15628
commit
558a1f0bb2
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ spa_pod_filter(struct spa_pod_builder *b,
|
|||
} else if (result) {
|
||||
*result = (struct spa_pod*)spa_pod_builder_deref(b, state.offset);
|
||||
if (*result == NULL)
|
||||
res = -EINVAL;
|
||||
res = -ENOSPC;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue