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

@ -937,7 +937,7 @@ static int snd_pcm_pipewire_open(snd_pcm_t **pcmp, const char *name,
return -ENOMEM;
str = getenv("PIPEWIRE_REMOTE");
if (str != NULL)
if (str != NULL && str[0] != '\0')
server_name = str;
str = getenv("PIPEWIRE_NODE");