mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -05:00
filter: handle NULL latency param
This commit is contained in:
parent
a9fecd50ed
commit
874724877d
1 changed files with 3 additions and 0 deletions
|
|
@ -799,6 +799,9 @@ static int handle_latency(struct filter *impl, struct port *port, const struct s
|
||||||
struct spa_latency_info info;
|
struct spa_latency_info info;
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
|
if (param == NULL)
|
||||||
|
return 0;
|
||||||
|
|
||||||
if ((res = spa_latency_parse(param, &info)) < 0)
|
if ((res = spa_latency_parse(param, &info)) < 0)
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue