adapter: handle builder overflow

This commit is contained in:
Wim Taymans 2025-04-02 10:39:34 +02:00
parent ee2c6eb41e
commit 5c547d58d1
2 changed files with 4 additions and 0 deletions

View file

@ -1026,6 +1026,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);