pcm route: Fix the bad condition (always false)

This commit is contained in:
Jaroslav Kysela 2014-09-16 09:00:39 +02:00
parent 99e57cb41a
commit 650b8c975c

View 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; snd_config_iterator_t j, jnext;
long cchannel; long cchannel;
const char *id; const char *id;
if (!snd_config_get_id(in, &id) < 0) if (snd_config_get_id(in, &id) < 0)
continue; continue;
err = safe_strtol(id, &cchannel); err = safe_strtol(id, &cchannel);
if (err < 0 || if (err < 0 ||