mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-raop-sink: handle 0 block_size
This commit is contained in:
parent
3e659d01b8
commit
fa1f556d93
1 changed files with 1 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ static void playback_stream_process(void *d)
|
|||
data = SPA_PTROFF(bd->data, bd->chunk->offset, uint8_t);
|
||||
size = bd->chunk->size;
|
||||
|
||||
while (size > 0) {
|
||||
while (size > 0 && impl->block_size > 0) {
|
||||
uint32_t avail, to_fill;
|
||||
|
||||
avail = impl->block_size - impl->filled;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue