rtsp: convert mallocs to dynbuf for RTP buffering

Closes #10786
This commit is contained in:
Daniel Stenberg 2023-04-04 14:44:25 +02:00
parent 808cb31756
commit 4399a532e9
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 20 additions and 43 deletions

View file

@ -45,8 +45,7 @@ CURLcode Curl_rtsp_parseheader(struct Curl_easy *data, char *header);
* Currently, only used for tracking incomplete RTP data reads
*/
struct rtsp_conn {
char *rtp_buf;
ssize_t rtp_bufsize;
struct dynbuf buf;
int rtp_channel;
};