mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05: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) {
|
} else if (result) {
|
||||||
*result = (struct spa_pod*)spa_pod_builder_deref(b, state.offset);
|
*result = (struct spa_pod*)spa_pod_builder_deref(b, state.offset);
|
||||||
if (*result == NULL)
|
if (*result == NULL)
|
||||||
res = -EINVAL;
|
res = -ENOSPC;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue