mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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:
parent
19be3b23b3
commit
da744ef116
1 changed files with 1 additions and 1 deletions
|
|
@ -1210,7 +1210,7 @@ static int snd_pcm_ladspa_look_for_plugin(snd_pcm_ladspa_plugin_t * const plugin
|
||||||
return err;
|
return err;
|
||||||
err = snd_pcm_ladspa_check_dir(plugin, fullpath, label, ladspa_id);
|
err = snd_pcm_ladspa_check_dir(plugin, fullpath, label, ladspa_id);
|
||||||
free(fullpath);
|
free(fullpath);
|
||||||
if (err < 0)
|
if (err < 0 && err != -ENOENT)
|
||||||
return err;
|
return err;
|
||||||
if (err > 0)
|
if (err > 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue