mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
avoid some useless assignments
This commit is contained in:
parent
4f60dcadc6
commit
eb93f259e0
7 changed files with 10 additions and 13 deletions
|
|
@ -82,7 +82,6 @@ static void on_process(void *userdata, struct spa_io_position *position)
|
|||
struct spa_data *d;
|
||||
struct spa_pod *pod;
|
||||
struct spa_pod_control *c;
|
||||
uint8_t *p;
|
||||
uint64_t frame;
|
||||
|
||||
frame = data->clock_time;
|
||||
|
|
@ -95,7 +94,7 @@ static void on_process(void *userdata, struct spa_io_position *position)
|
|||
buf = b->buffer;
|
||||
d = &buf->datas[0];
|
||||
|
||||
if ((p = d->data) == NULL)
|
||||
if (d->data == NULL)
|
||||
return;
|
||||
|
||||
if ((pod = spa_pod_from_data(d->data, d->maxsize, d->chunk->offset, d->chunk->size)) == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue