mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pod: fix pod compare
This commit is contained in:
parent
aa5bc5846f
commit
ad35e8ef3b
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ static inline int spa_pod_compare(const struct spa_pod *pod1,
|
|||
SPA_POD_OBJECT_FOREACH((const struct spa_pod_object*)pod1, p1) {
|
||||
if ((p2 = spa_pod_find_prop(pod2, p1->key)) == NULL)
|
||||
return 1;
|
||||
if ((res == spa_pod_compare(&p1->value, &p2->value)) != 0)
|
||||
if ((res = spa_pod_compare(&p1->value, &p2->value)) != 0)
|
||||
return res;
|
||||
}
|
||||
SPA_POD_OBJECT_FOREACH((const struct spa_pod_object*)pod2, p2) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue