small cleanups

This commit is contained in:
Wim Taymans 2018-04-12 09:42:19 +02:00
parent c9fb320987
commit 8b74a3c0d2
4 changed files with 18 additions and 2 deletions

View file

@ -287,6 +287,9 @@ static int setup_convert(struct impl *this)
outport->format.info.raw.rate,
outport->format.info.raw.layout);
if (this->n_links > 0)
return 0;
/* unpack */
make_link(this, NULL, 0, this->fmt_in, 0, &inport->format);
prev = this->fmt_in;