pcm: ladspa - Skip missing ladspa directories

Closes: https://github.com/alsa-project/alsa-lib/pull/385
Signed-off-by: Marc Aldorasi <m101010a@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Marc Aldorasi 2024-02-22 23:42:57 -05:00 committed by Jaroslav Kysela
parent 19be3b23b3
commit da744ef116

View file

@ -1210,7 +1210,7 @@ static int snd_pcm_ladspa_look_for_plugin(snd_pcm_ladspa_plugin_t * const plugin
return err;
err = snd_pcm_ladspa_check_dir(plugin, fullpath, label, ladspa_id);
free(fullpath);
if (err < 0)
if (err < 0 && err != -ENOENT)
return err;
if (err > 0)
return 0;