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
93993933
Commit
93993933
authored
Feb 23, 2010
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics: reindent
Originally committed as revision 21995 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b62c65f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
rtsp.c
libavformat/rtsp.c
+9
-9
rtsp.h
libavformat/rtsp.h
+11
-11
No files found.
libavformat/rtsp.c
View file @
93993933
...
...
@@ -251,7 +251,7 @@ static const AttrNameMap attr_names[]=
* is broken out as a function because it is used in rtp_h264.c, which is
* forthcoming. */
int
ff_rtsp_next_attr_and_value
(
const
char
**
p
,
char
*
attr
,
int
attr_size
,
char
*
value
,
int
value_size
)
char
*
value
,
int
value_size
)
{
skip_spaces
(
p
);
if
(
**
p
)
{
...
...
@@ -280,7 +280,7 @@ static void sdp_parse_fmtp(AVStream *st, const char *p)
/* loop on each attribute */
while
(
ff_rtsp_next_attr_and_value
(
&
p
,
attr
,
sizeof
(
attr
),
value
,
sizeof
(
value
)))
{
value
,
sizeof
(
value
)))
{
/* grab the codec extra_data from the config parameter of the fmtp
* line */
sdp_parse_fmtp_config
(
codec
,
rtsp_st
->
dynamic_protocol_context
,
...
...
@@ -882,8 +882,8 @@ static void rtsp_skip_packet(AVFormatContext *s)
}
int
ff_rtsp_read_reply
(
AVFormatContext
*
s
,
RTSPMessageHeader
*
reply
,
unsigned
char
**
content_ptr
,
int
return_on_interleaved_data
)
unsigned
char
**
content_ptr
,
int
return_on_interleaved_data
)
{
RTSPState
*
rt
=
s
->
priv_data
;
char
buf
[
4096
],
buf1
[
1024
],
*
q
;
...
...
@@ -969,9 +969,9 @@ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
}
void
ff_rtsp_send_cmd_with_content_async
(
AVFormatContext
*
s
,
const
char
*
cmd
,
const
unsigned
char
*
send_content
,
int
send_content_length
)
const
char
*
cmd
,
const
unsigned
char
*
send_content
,
int
send_content_length
)
{
RTSPState
*
rt
=
s
->
priv_data
;
char
buf
[
4096
],
buf1
[
1024
];
...
...
@@ -1006,8 +1006,8 @@ void ff_rtsp_send_cmd_async(AVFormatContext *s, const char *cmd)
}
void
ff_rtsp_send_cmd
(
AVFormatContext
*
s
,
const
char
*
cmd
,
RTSPMessageHeader
*
reply
,
unsigned
char
**
content_ptr
)
const
char
*
cmd
,
RTSPMessageHeader
*
reply
,
unsigned
char
**
content_ptr
)
{
ff_rtsp_send_cmd_async
(
s
,
cmd
);
...
...
libavformat/rtsp.h
View file @
93993933
...
...
@@ -333,9 +333,9 @@ extern int rtsp_rtp_port_max;
* send_content is null
*/
void
ff_rtsp_send_cmd_with_content_async
(
AVFormatContext
*
s
,
const
char
*
cmd
,
const
unsigned
char
*
send_content
,
int
send_content_length
);
const
char
*
cmd
,
const
unsigned
char
*
send_content
,
int
send_content_length
);
/**
* Send a command to the RTSP server without waiting for the reply.
*
...
...
@@ -356,11 +356,11 @@ void ff_rtsp_send_cmd_async(AVFormatContext *s, const char *cmd);
* send_content is null
*/
void
ff_rtsp_send_cmd_with_content
(
AVFormatContext
*
s
,
const
char
*
cmd
,
RTSPMessageHeader
*
reply
,
unsigned
char
**
content_ptr
,
const
unsigned
char
*
send_content
,
int
send_content_length
);
const
char
*
cmd
,
RTSPMessageHeader
*
reply
,
unsigned
char
**
content_ptr
,
const
unsigned
char
*
send_content
,
int
send_content_length
);
/**
* Send a command to the RTSP server and wait for the reply.
...
...
@@ -368,7 +368,7 @@ void ff_rtsp_send_cmd_with_content(AVFormatContext *s,
* @see rtsp_send_cmd_with_content
*/
void
ff_rtsp_send_cmd
(
AVFormatContext
*
s
,
const
char
*
cmd
,
RTSPMessageHeader
*
reply
,
unsigned
char
**
content_ptr
);
RTSPMessageHeader
*
reply
,
unsigned
char
**
content_ptr
);
/**
* Read a RTSP message from the server, or prepare to read data
...
...
@@ -392,8 +392,8 @@ void ff_rtsp_send_cmd(AVFormatContext *s, const char *cmd,
* and 0 on success.
*/
int
ff_rtsp_read_reply
(
AVFormatContext
*
s
,
RTSPMessageHeader
*
reply
,
unsigned
char
**
content_ptr
,
int
return_on_interleaved_data
);
unsigned
char
**
content_ptr
,
int
return_on_interleaved_data
);
/**
* Connect to the RTSP server and set up the individual media streams.
...
...
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