]> git.alsa-project.org Git - alsa-lib.git/commitdiff
pcm route: Fix the bad condition (always false)
authorJaroslav Kysela <perex@perex.cz>
Tue, 16 Sep 2014 07:00:39 +0000 (09:00 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Sep 2014 07:00:39 +0000 (09:00 +0200)
src/pcm/pcm_route.c

index e7de9b51f1fcc0708bbd59167269a6e4f3f4678e..2a437e88b93cf1f308d241d58663f3f14758d4f4 100644 (file)
@@ -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 ||