small cleanups

This commit is contained in:
Wim Taymans 2018-04-11 10:54:47 +02:00
parent d88b88444d
commit 008df86c8f
3 changed files with 11 additions and 9 deletions

View file

@ -811,7 +811,7 @@ impl_node_port_use_buffers(struct spa_node *node,
size += d->maxsize;
} else {
b->buffer.datas[j].type = SPA_ID_INVALID;
b->buffer.datas[j].data = 0;
b->buffer.datas[j].data = NULL;
spa_log_error(this->log, "invalid memory type %d", d->type);
}
}