mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:24:08 +03:00
rtsp: use dynbuf instead of custom reallocs
For the RTP buffering. Closes #10776
This commit is contained in:
parent
d2d0e60012
commit
1b9ea3239d
2 changed files with 16 additions and 35 deletions
|
|
@ -29,6 +29,8 @@
|
|||
|
||||
#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);
|
||||
|
|
@ -45,8 +47,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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue