handle NULL latency param

Fixes #3504
This commit is contained in:
Wim Taymans 2023-09-13 11:13:48 +02:00
parent 56786aedc4
commit b094057b0b
12 changed files with 20 additions and 13 deletions

View file

@ -2442,7 +2442,6 @@ static int port_set_latency(struct client *c, struct port *p,
if (param == NULL)
return 0;
if ((res = spa_latency_parse(param, &info)) < 0)
return res;