mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -05:00
Improve padding
Write out 0 while padding to make sure all memory is initialized Remove the fd from the loop before destroying the node.
This commit is contained in:
parent
a1dad30fd1
commit
905743dac6
8 changed files with 81 additions and 78 deletions
|
|
@ -40,7 +40,7 @@ spa_pod_builder_push_format (SpaPODBuilder *builder,
|
|||
{ { sizeof (uint32_t), SPA_POD_TYPE_INT }, media_type }, 0,
|
||||
{ { sizeof (uint32_t), SPA_POD_TYPE_INT }, media_subtype }, 0 } };
|
||||
return spa_pod_builder_push (builder, frame, &p.pod,
|
||||
spa_pod_builder_raw (builder, &p, sizeof(p), false));
|
||||
spa_pod_builder_raw (builder, &p, sizeof(p)));
|
||||
}
|
||||
|
||||
static inline uint32_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue