module-netjack2: fix compilation without OPUS

This commit is contained in:
Wim Taymans 2023-06-12 18:25:53 +02:00
parent fb63bb3c5c
commit deba261a1b

View file

@ -189,10 +189,10 @@ static int netjack2_init(struct netjack2_peer *peer)
}
return res;
#ifdef HAVE_OPUS
error_errno:
pw_log_warn("error: %m");
return -errno;
#ifdef HAVE_OPUS
error_opus:
pw_log_warn("error: %d", res);
return -EINVAL;