don't attempt to connect to empty remote name

Fixes jconvolver startup.

See #744
This commit is contained in:
Wim Taymans 2021-02-18 10:22:39 +01:00
parent 81ebc33b57
commit 7053936ffd
4 changed files with 6 additions and 6 deletions

View file

@ -1217,7 +1217,7 @@ SND_CTL_PLUGIN_DEFINE_FUNC(pipewire)
}
str = getenv("PIPEWIRE_REMOTE");
if (str != NULL)
if (str != NULL && str[0] != '\0')
server = str;
if (fallback_name && name && !strcmp(name, fallback_name))