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
fef5649a
Commit
fef5649a
authored
Jan 24, 2011
by
Martin Storsjo
Committed by
Janne Grunau
Jan 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp: Make make_setup_request a nonstatic function
Signed-off-by:
Janne Grunau
<
janne-ffmpeg@jannau.net
>
parent
4be170c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
rtsp.c
libavformat/rtsp.c
+2
-2
rtsp.h
libavformat/rtsp.h
+7
-0
No files found.
libavformat/rtsp.c
View file @
fef5649a
...
...
@@ -1017,7 +1017,7 @@ retry:
/**
* @return 0 on success, <0 on error, 1 if protocol is unavailable.
*/
static
int
make_setup_request
(
AVFormatContext
*
s
,
const
char
*
host
,
int
port
,
int
ff_rtsp_
make_setup_request
(
AVFormatContext
*
s
,
const
char
*
host
,
int
port
,
int
lower_transport
,
const
char
*
real_challenge
)
{
RTSPState
*
rt
=
s
->
priv_data
;
...
...
@@ -1493,7 +1493,7 @@ redirect:
int
lower_transport
=
ff_log2_tab
[
lower_transport_mask
&
~
(
lower_transport_mask
-
1
)];
err
=
make_setup_request
(
s
,
host
,
port
,
lower_transport
,
err
=
ff_rtsp_
make_setup_request
(
s
,
host
,
port
,
lower_transport
,
rt
->
server_type
==
RTSP_SERVER_REAL
?
real_challenge
:
NULL
);
if
(
err
<
0
)
...
...
libavformat/rtsp.h
View file @
fef5649a
...
...
@@ -504,4 +504,11 @@ int ff_rtsp_tcp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,
*/
int
ff_rtsp_fetch_packet
(
AVFormatContext
*
s
,
AVPacket
*
pkt
);
/**
* Do the SETUP requests for each stream for the chosen
* lower transport mode.
*/
int
ff_rtsp_make_setup_request
(
AVFormatContext
*
s
,
const
char
*
host
,
int
port
,
int
lower_transport
,
const
char
*
real_challenge
);
#endif
/* AVFORMAT_RTSP_H */
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