mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-31 07:11:14 -04:00
tools: use safer spa_pod_parser for control events
This commit is contained in:
parent
a3da53f66e
commit
5743849b50
3 changed files with 32 additions and 26 deletions
|
|
@ -665,7 +665,7 @@ static const char *controller_name(uint8_t ctrl)
|
|||
return controller_names[ctrl];
|
||||
}
|
||||
|
||||
static void dump_mem(FILE *out, const char *label, uint8_t *data, uint32_t size)
|
||||
static void dump_mem(FILE *out, const char *label, const uint8_t *data, uint32_t size)
|
||||
{
|
||||
fprintf(out, "%s: ", label);
|
||||
while (size--)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue