mirror of
https://github.com/curl/curl.git
synced 2026-08-26 20:23:32 +03:00
Revert "rtsp: use dynbuf instead of custom reallocs"
This reverts commit 1b9ea3239d because of OSS-fuzz reports.
I'll do another take after the pending release.
Closes #10785
This commit is contained in:
parent
ba1fba9cad
commit
f5e0f52dd3
2 changed files with 35 additions and 16 deletions
|
|
@ -29,8 +29,6 @@
|
|||
|
||||
#ifndef CURL_DISABLE_RTSP
|
||||
|
||||
#include "dynbuf.h"
|
||||
|
||||
extern const struct Curl_handler Curl_handler_rtsp;
|
||||
|
||||
CURLcode Curl_rtsp_parseheader(struct Curl_easy *data, char *header);
|
||||
|
|
@ -47,7 +45,8 @@ CURLcode Curl_rtsp_parseheader(struct Curl_easy *data, char *header);
|
|||
* Currently, only used for tracking incomplete RTP data reads
|
||||
*/
|
||||
struct rtsp_conn {
|
||||
struct dynbuf buf;
|
||||
char *rtp_buf;
|
||||
ssize_t rtp_bufsize;
|
||||
int rtp_channel;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue