mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-13 13:30:05 -05:00
properties: better default size
This commit is contained in:
parent
31f4ceb137
commit
eb934dacef
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ struct pw_properties *pw_properties_new_dict(const struct spa_dict *dict)
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
struct properties *impl;
|
struct properties *impl;
|
||||||
|
|
||||||
impl = properties_new(16);
|
impl = properties_new(SPA_ROUND_UP_N(dict->n_items, 16));
|
||||||
if (impl == NULL)
|
if (impl == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue