rtp-source: avoid bitfield races

The different bits are written to from different threads.
This commit is contained in:
Wim Taymans 2025-01-20 14:00:21 +01:00
parent 7da9c2b25d
commit 4b24619160

View file

@ -165,8 +165,8 @@ struct impl {
uint8_t *buffer;
size_t buffer_size;
unsigned receiving:1;
unsigned last_receiving:1;
bool receiving;
bool last_receiving;
};
static void