mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meta: make safer find_meta_data function
This commit is contained in:
parent
33427b4cd3
commit
c98fbfe0a9
16 changed files with 59 additions and 32 deletions
|
|
@ -515,7 +515,7 @@ impl_node_port_use_buffers(struct spa_node *node,
|
|||
b->buf = buffers[i];
|
||||
b->flags = 0;
|
||||
|
||||
b->h = spa_buffer_find_meta(b->buf, this->type.meta.Header);
|
||||
b->h = spa_buffer_find_meta_data(b->buf, this->type.meta.Header, sizeof(*b->h));
|
||||
|
||||
if (!((d[0].type == this->type.data.MemFd ||
|
||||
d[0].type == this->type.data.DmaBuf ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue