mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-05 06:46:28 -04:00
avb: fix MAAP packet send
Actually send the ehaternet header data as well. The send was skipping the ehternet header and reading past the packet end.
This commit is contained in:
parent
67b70c8d23
commit
17723bc00d
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ static int send_packet(struct maap *maap, uint64_t now,
|
||||||
maap_message_debug(maap, p);
|
maap_message_debug(maap, p);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (send(maap->source->fd, p, sizeof(*h) + sizeof(*p), 0) < 0) {
|
if (send(maap->source->fd, h, sizeof(*h) + sizeof(*p), 0) < 0) {
|
||||||
res = -errno;
|
res = -errno;
|
||||||
pw_log_warn("got send error: %m");
|
pw_log_warn("got send error: %m");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue