mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-19 08:57:14 -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
|
|
@ -142,7 +142,7 @@ spa_format_filter (const SpaFormat *format,
|
|||
return SPA_RESULT_INVALID_ARGUMENTS;
|
||||
|
||||
if (filter == NULL) {
|
||||
spa_pod_builder_raw (result, format, SPA_POD_SIZE (format), true);
|
||||
spa_pod_builder_raw_padded (result, format, SPA_POD_SIZE (format));
|
||||
return SPA_RESULT_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue