pipewire: rtsp-client: check if the status code code is a number

This commit is contained in:
Barnabás Pőcze 2022-09-07 03:26:06 +02:00
parent 56df6fed13
commit 9b63c5011d

View file

@ -265,6 +265,8 @@ static int process_input(struct pw_rtsp_client *client)
goto error;
client->status = atoi(s);
if (client->status == 0)
goto error;
s = pw_split_walk(buf, " ", &len, &state);
if (s == NULL)