Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
57c4d01e
Commit
57c4d01e
authored
Jan 25, 2011
by
Diego Elio Pettenò
Committed by
Janne Grunau
Jan 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make ff_rtsp_send_cmd_with_content_async static to rtsp.c.
Signed-off-by:
Janne Grunau
<
janne-ffmpeg@jannau.net
>
parent
13eb6b90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
23 deletions
+18
-23
rtsp.c
libavformat/rtsp.c
+18
-5
rtsp.h
libavformat/rtsp.h
+0
-18
No files found.
libavformat/rtsp.c
View file @
57c4d01e
...
...
@@ -924,11 +924,24 @@ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
return
0
;
}
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.
*
* @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
,
int
send_content_length
)
{
RTSPState
*
rt
=
s
->
priv_data
;
char
buf
[
4096
],
*
out_buf
;
...
...
libavformat/rtsp.h
View file @
57c4d01e
...
...
@@ -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.
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment