mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
rtp-source: avoid bitfield races
The different bits are written to from different threads.
This commit is contained in:
parent
7da9c2b25d
commit
4b24619160
1 changed files with 2 additions and 2 deletions
|
|
@ -165,8 +165,8 @@ struct impl {
|
||||||
uint8_t *buffer;
|
uint8_t *buffer;
|
||||||
size_t buffer_size;
|
size_t buffer_size;
|
||||||
|
|
||||||
unsigned receiving:1;
|
bool receiving;
|
||||||
unsigned last_receiving:1;
|
bool last_receiving;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue