diff options
author | Jaroslav Kysela <perex@perex.cz> | 2014-09-16 09:00:39 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2014-09-16 09:00:39 +0200 |
commit | 650b8c975cd5c3f7dca6e78e74db587b57bcdfd8 (patch) | |
tree | f0c6e7c19d93418ea5fde7512cd525e9f18c4a23 | |
parent | 99e57cb41a1af2056478e5d8dd0e575109e58a56 (diff) | |
download | alsa-lib-650b8c975cd5c3f7dca6e78e74db587b57bcdfd8.tar.gz |
pcm route: Fix the bad condition (always false)
-rw-r--r-- | src/pcm/pcm_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm/pcm_route.c b/src/pcm/pcm_route.c index e7de9b51..2a437e88 100644 --- a/src/pcm/pcm_route.c +++ b/src/pcm/pcm_route.c @@ -1147,7 +1147,7 @@ static int _snd_pcm_route_load_ttable(snd_config_t *tt, snd_pcm_route_ttable_ent snd_config_iterator_t j, jnext; long cchannel; const char *id; - if (!snd_config_get_id(in, &id) < 0) + if (snd_config_get_id(in, &id) < 0) continue; err = safe_strtol(id, &cchannel); if (err < 0 || |