mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 10:15:22 +00:00
Make ff_rtsp_send_cmd_with_content_async static to rtsp.c.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
This commit is contained in:
parent
13eb6b9097
commit
57c4d01ec9
@ -924,7 +924,20 @@ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ff_rtsp_send_cmd_with_content_async(AVFormatContext *s,
|
||||
/**
|
||||
* Send a command to the RTSP server without waiting for the reply.
|
||||
*
|
||||
* @param s RTSP (de)muxer context
|
||||
* @param method the method for the request
|
||||
* @param url the target url for the request
|
||||
* @param headers extra header lines to include in the request
|
||||
* @param send_content if non-null, the data to send as request body content
|
||||
* @param send_content_length the length of the send_content data, or 0 if
|
||||
* send_content is null
|
||||
*
|
||||
* @return zero if success, nonzero otherwise
|
||||
*/
|
||||
static int ff_rtsp_send_cmd_with_content_async(AVFormatContext *s,
|
||||
const char *method, const char *url,
|
||||
const char *headers,
|
||||
const unsigned char *send_content,
|
||||
|
@ -371,24 +371,6 @@ void ff_rtsp_parse_line(RTSPMessageHeader *reply, const char *buf,
|
||||
extern int rtsp_rtp_port_min;
|
||||
extern int rtsp_rtp_port_max;
|
||||
|
||||
/**
|
||||
* Send a command to the RTSP server without waiting for the reply.
|
||||
*
|
||||
* @param s RTSP (de)muxer context
|
||||
* @param method the method for the request
|
||||
* @param url the target url for the request
|
||||
* @param headers extra header lines to include in the request
|
||||
* @param send_content if non-null, the data to send as request body content
|
||||
* @param send_content_length the length of the send_content data, or 0 if
|
||||
* send_content is null
|
||||
*
|
||||
* @return zero if success, nonzero otherwise
|
||||
*/
|
||||
int ff_rtsp_send_cmd_with_content_async(AVFormatContext *s,
|
||||
const char *method, const char *url,
|
||||
const char *headers,
|
||||
const unsigned char *send_content,
|
||||
int send_content_length);
|
||||
/**
|
||||
* Send a command to the RTSP server without waiting for the reply.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user