use spa_list_append when we can

This commit is contained in:
Wim Taymans 2017-10-24 12:58:10 +02:00
parent 4aaa2cbc6b
commit a691d07531
21 changed files with 41 additions and 42 deletions

View file

@ -583,7 +583,7 @@ static void recycle_buffer(struct impl *this, uint32_t id)
return;
}
spa_list_insert(port->empty.prev, &b->link);
spa_list_append(&port->empty, &b->link);
b->outstanding = false;
spa_log_trace(this->log, NAME " %p: recycle buffer %d", this, id);
}