mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-30 21:37:53 -04:00
Merge branch 'avoid_uninit_dict_flags' into 'master'
Draft: treewide: avoid unitialized `spa_dict::flags` See merge request pipewire/pipewire!2826
This commit is contained in:
commit
8bf55f6e1a
7 changed files with 18 additions and 15 deletions
|
|
@ -180,8 +180,7 @@ static inline pa_proplist* pa_proplist_new_dict(const struct acp_dict *dict)
|
|||
|
||||
static inline void pa_proplist_as_dict(const pa_proplist *p, struct acp_dict *dict)
|
||||
{
|
||||
dict->n_items = pa_proplist_size(p);
|
||||
dict->items = p->array.data;
|
||||
*dict = ACP_DICT_INIT(p->array.data, pa_proplist_size(p));
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue