From 00dbe9cb2a1456fb4b7e7daaad957b7b61eed831 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 31 Jul 2025 14:12:21 +0200 Subject: [PATCH] pod: add missing parser varargs formats --- spa/include/spa/pod/parser.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spa/include/spa/pod/parser.h b/spa/include/spa/pod/parser.h index ccf224c85..8e26902dd 100644 --- a/spa/include/spa/pod/parser.h +++ b/spa/include/spa/pod/parser.h @@ -535,7 +535,7 @@ SPA_API_POD_PARSER bool spa_pod_parser_body_can_collect(const struct spa_pod *po if (pod->type == SPA_TYPE_Choice) { if (!spa_pod_is_choice(pod)) return false; - if (type == 'V') + if (type == 'V' || type == 'W') return true; spa_pod_body_get_choice(pod, body, &choice, &body); if (choice.body.type != SPA_CHOICE_None) @@ -731,6 +731,10 @@ do { \ case 'P': \ case 'T': \ case 'O': \ + case 'W': \ + case 'Q': \ + case 'U': \ + case 'N': \ va_arg(args, void*); \ break; \ } \