diff options
Diffstat (limited to 'meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch')
-rw-r--r-- | meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch b/meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch new file mode 100644 index 000000000..9b05e9e4c --- /dev/null +++ b/meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From 0ca64277b317b4836beccaa3248ab9055526811c Mon Sep 17 00:00:00 2001 | ||
2 | From: Wim Taymans <wtaymans@redhat.com> | ||
3 | Date: Mon, 30 Sep 2024 10:06:30 +0200 | ||
4 | Subject: [PATCH] spa: initialize all fields explicitly | ||
5 | |||
6 | Patch by Petar Popovic | ||
7 | |||
8 | Fixes #4325 | ||
9 | |||
10 | Upstream-Status: Backport [https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/0ca64277b317b4836beccaa3248ab9055526811c] | ||
11 | |||
12 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
13 | --- | ||
14 | spa/include/spa/pod/builder.h | 2 +- | ||
15 | spa/include/spa/pod/parser.h | 2 +- | ||
16 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
17 | |||
18 | diff --git a/spa/include/spa/pod/builder.h b/spa/include/spa/pod/builder.h | ||
19 | index 0564d94ea2..6d3e9d54af 100644 | ||
20 | --- a/spa/include/spa/pod/builder.h | ||
21 | +++ b/spa/include/spa/pod/builder.h | ||
22 | @@ -49,7 +49,7 @@ struct spa_pod_builder { | ||
23 | struct spa_callbacks callbacks; | ||
24 | }; | ||
25 | |||
26 | -#define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0}, {0} }) | ||
27 | +#define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ||
28 | |||
29 | static inline void | ||
30 | spa_pod_builder_get_state(struct spa_pod_builder *builder, struct spa_pod_builder_state *state) | ||
31 | diff --git a/spa/include/spa/pod/parser.h b/spa/include/spa/pod/parser.h | ||
32 | index 083f911713..4c1e72acce 100644 | ||
33 | --- a/spa/include/spa/pod/parser.h | ||
34 | +++ b/spa/include/spa/pod/parser.h | ||
35 | @@ -33,7 +33,7 @@ struct spa_pod_parser { | ||
36 | struct spa_pod_parser_state state; | ||
37 | }; | ||
38 | |||
39 | -#define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0} }) | ||
40 | +#define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ||
41 | |||
42 | static inline void spa_pod_parser_init(struct spa_pod_parser *parser, | ||
43 | const void *data, uint32_t size) | ||
44 | -- | ||
45 | GitLab | ||
46 | |||