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
0b6a7ff4
Commit
0b6a7ff4
authored
Nov 28, 2010
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp: Do a forgotten reindenting
Originally committed as revision 25839 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3fa77bde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
rtsp.c
libavformat/rtsp.c
+17
-17
No files found.
libavformat/rtsp.c
View file @
0b6a7ff4
...
...
@@ -339,24 +339,24 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
av_strlcpy
(
rt
->
control_uri
,
p
,
sizeof
(
rt
->
control_uri
));
}
else
{
char
proto
[
32
];
/* get the control url */
st
=
s
->
streams
[
s
->
nb_streams
-
1
];
rtsp_st
=
st
->
priv_data
;
char
proto
[
32
];
/* get the control url */
st
=
s
->
streams
[
s
->
nb_streams
-
1
];
rtsp_st
=
st
->
priv_data
;
/* XXX: may need to add full url resolution */
av_url_split
(
proto
,
sizeof
(
proto
),
NULL
,
0
,
NULL
,
0
,
NULL
,
NULL
,
0
,
p
);
if
(
proto
[
0
]
==
'\0'
)
{
/* relative control URL */
if
(
rtsp_st
->
control_url
[
strlen
(
rtsp_st
->
control_url
)
-
1
]
!=
'/'
)
av_strlcat
(
rtsp_st
->
control_url
,
"/"
,
sizeof
(
rtsp_st
->
control_url
));
av_strlcat
(
rtsp_st
->
control_url
,
p
,
sizeof
(
rtsp_st
->
control_url
));
}
else
av_strlcpy
(
rtsp_st
->
control_url
,
p
,
sizeof
(
rtsp_st
->
control_url
));
/* XXX: may need to add full url resolution */
av_url_split
(
proto
,
sizeof
(
proto
),
NULL
,
0
,
NULL
,
0
,
NULL
,
NULL
,
0
,
p
);
if
(
proto
[
0
]
==
'\0'
)
{
/* relative control URL */
if
(
rtsp_st
->
control_url
[
strlen
(
rtsp_st
->
control_url
)
-
1
]
!=
'/'
)
av_strlcat
(
rtsp_st
->
control_url
,
"/"
,
sizeof
(
rtsp_st
->
control_url
));
av_strlcat
(
rtsp_st
->
control_url
,
p
,
sizeof
(
rtsp_st
->
control_url
));
}
else
av_strlcpy
(
rtsp_st
->
control_url
,
p
,
sizeof
(
rtsp_st
->
control_url
));
}
}
else
if
(
av_strstart
(
p
,
"rtpmap:"
,
&
p
)
&&
s
->
nb_streams
>
0
)
{
/* NOTE: rtpmap is only supported AFTER the 'm=' tag */
...
...
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