commit | 6d0156b89a49bc4f482f55fb432375d04d449008 | [log] [tgz] |
---|---|---|
author | Vadim Yanitskiy <axilirator@gmail.com> | Fri Jun 29 20:31:21 2018 +0700 |
committer | Vadim Yanitskiy <axilirator@gmail.com> | Fri Jun 29 20:54:04 2018 +0700 |
tree | a06eacf8d65c406d8c98ca82c468b8285acb1aff | |
parent | 379b657c5754832eb518c6477960daa43318909a [diff] |
procqueue.c: rely on item type instead of its position In the osmo_gapk_pq_prepare() we do allocate an item's buffer conditionally, only when its type is not sink, because an output buffer is not required for sink. Let's use a bit more elegant way to check, whether item is sink. Change-Id: I770a1d02273d9d8301a9e4ec72426fb8f4060277