mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-17 05:33:55 -04:00
spa: use safe IO_Control parsing
The IO_Control areas are in shaed memory and need to use the parser to safely extract the info.
This commit is contained in:
parent
ede1924ded
commit
f4ab704948
4 changed files with 75 additions and 37 deletions
|
|
@ -1569,8 +1569,7 @@ done:
|
|||
}
|
||||
|
||||
static int
|
||||
spa_v4l2_set_control(struct impl *this, uint32_t id,
|
||||
const struct spa_pod_prop *prop)
|
||||
spa_v4l2_set_control(struct impl *this, const struct spa_pod_prop *prop, const void *body)
|
||||
{
|
||||
struct port *port = &this->out_ports[0];
|
||||
struct spa_v4l2_device *dev = &port->dev;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue