mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
pipewire-v4l2: avoid overflow in id calculation
This commit is contained in:
parent
f5f66d1718
commit
c387e83c65
1 changed files with 1 additions and 1 deletions
|
|
@ -1838,7 +1838,7 @@ static void *v4l2_mmap(void *addr, size_t length, int prot,
|
||||||
{
|
{
|
||||||
void *res;
|
void *res;
|
||||||
struct file *file;
|
struct file *file;
|
||||||
uint32_t id;
|
off64_t id;
|
||||||
struct pw_map_range range;
|
struct pw_map_range range;
|
||||||
struct buffer *buf;
|
struct buffer *buf;
|
||||||
struct spa_data *data;
|
struct spa_data *data;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue