filter: handle NULL latency param

This commit is contained in:
Wim Taymans 2021-08-05 15:42:23 +02:00
parent a9fecd50ed
commit 874724877d

View file

@ -799,6 +799,9 @@ static int handle_latency(struct filter *impl, struct port *port, const struct s
struct spa_latency_info info;
int res;
if (param == NULL)
return 0;
if ((res = spa_latency_parse(param, &info)) < 0)
return res;