rtsp: bump buf after rtsp_filter_rtp()

Reported-by: Andrew Nesbit
Closes #21563
This commit is contained in:
Daniel Stenberg 2026-05-12 11:56:16 +02:00
parent cc6777d939
commit cb4395b403
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -887,6 +887,7 @@ static CURLcode rtsp_rtp_write_resp(struct Curl_easy *data,
result = rtsp_filter_rtp(data, rtspc, buf, blen, &consumed);
if(result)
goto out;
buf += consumed;
blen -= consumed;
}
}