diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-09-15 19:17:21 +0430 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-31 12:21:00 +0100 |
commit | 10076f0acce2274fdb363cd69ee83becdef6d6c8 (patch) | |
tree | dd1f0573b923a67b664cb0592906dd5ba7ba9e6a | |
parent | 9d2b15dc8a97ceefc5cd2e95a885bd306ec992be (diff) |
osmo-gapk: fix I/O count check condition
The stdin / stdout operation was broken by a new check condition,
introduced by the 15fa605576a81803c57a144231e9e9720aa133a1.
-rw-r--r-- | src/app_osmo_gapk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_osmo_gapk.c b/src/app_osmo_gapk.c index 2aac0aa..729ea25 100644 --- a/src/app_osmo_gapk.c +++ b/src/app_osmo_gapk.c @@ -355,7 +355,7 @@ check_options(struct gapk_state *gs) if (gs->opts.alsa_out) sink_count++; - if (src_count != 1 || sink_count != 1) { + if (src_count > 1 || sink_count > 1) { LOGP(DAPP, LOGL_ERROR, "You have to decide on " "a single input and a single output\n"); return -EINVAL; |