summaryrefslogtreecommitdiff
path: root/lib/rtsp.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-03-17 15:26:00 +0100
committerDaniel Stenberg <daniel@haxx.se>2023-03-17 15:41:07 +0100
commitf5e0f52dd3ba8152c0ec37c2113586ce2e6bcff3 (patch)
tree3c1bcc29a387f745420034b61d21414a4d5df4b2 /lib/rtsp.h
parentba1fba9cad7b92e0e1328468aef41436e1fcc050 (diff)
downloadcurl-f5e0f52dd3ba8152c0ec37c2113586ce2e6bcff3.tar.gz
Revert "rtsp: use dynbuf instead of custom reallocs"
This reverts commit 1b9ea3239d22147e00d8 because of OSS-fuzz reports. I'll do another take after the pending release. Closes #10785
Diffstat (limited to 'lib/rtsp.h')
-rw-r--r--lib/rtsp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rtsp.h b/lib/rtsp.h
index 6bce41a61..6e55616b3 100644
--- a/lib/rtsp.h
+++ b/lib/rtsp.h
@@ -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;
};