From: Marc Aldorasi Date: Fri, 23 Feb 2024 04:42:57 +0000 (-0500) Subject: pcm: ladspa - Skip missing ladspa directories X-Git-Tag: v1.2.12~16 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=da744ef116d3a21e418e37bfd58f3f777f65b3a7;p=alsa-lib.git pcm: ladspa - Skip missing ladspa directories Closes: https://github.com/alsa-project/alsa-lib/pull/385 Signed-off-by: Marc Aldorasi Signed-off-by: Jaroslav Kysela --- diff --git a/src/pcm/pcm_ladspa.c b/src/pcm/pcm_ladspa.c index 56ee138f..25eac76f 100644 --- a/src/pcm/pcm_ladspa.c +++ b/src/pcm/pcm_ladspa.c @@ -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;