mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pod: make format like other PODs
This commit is contained in:
parent
e2d930e394
commit
f02f93cda9
13 changed files with 125 additions and 87 deletions
|
|
@ -95,7 +95,7 @@ pinos_serialize_format_get_size (const SpaFormat *format)
|
|||
if (format == NULL)
|
||||
return 0;
|
||||
|
||||
return SPA_FORMAT_SIZE (format);
|
||||
return SPA_POD_SIZE (format);
|
||||
}
|
||||
|
||||
size_t
|
||||
|
|
@ -106,7 +106,7 @@ pinos_serialize_format_serialize (void *dest, const SpaFormat *format)
|
|||
if (format == NULL)
|
||||
return 0;
|
||||
|
||||
size = SPA_FORMAT_SIZE (format);
|
||||
size = SPA_POD_SIZE (format);
|
||||
memcpy (dest, format, size);
|
||||
|
||||
return size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue