mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
adapter: handle builder overflow
This commit is contained in:
parent
ce6d2fce9a
commit
1388f16c47
2 changed files with 4 additions and 0 deletions
|
|
@ -997,6 +997,8 @@ found:
|
|||
format = merge_objects(this, &b, SPA_PARAM_Format,
|
||||
(struct spa_pod_object*)format,
|
||||
(struct spa_pod_object*)def);
|
||||
if (format == NULL)
|
||||
return -ENOSPC;
|
||||
|
||||
spa_pod_fixate(format);
|
||||
|
||||
|
|
|
|||
|
|
@ -964,6 +964,8 @@ found:
|
|||
format = merge_objects(this, &b, SPA_PARAM_Format,
|
||||
(struct spa_pod_object*)format,
|
||||
(struct spa_pod_object*)def);
|
||||
if (format == NULL)
|
||||
return -ENOSPC;
|
||||
|
||||
spa_pod_fixate(format);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue