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
87b2b40a
Commit
87b2b40a
authored
Oct 07, 2010
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reindent
Originally committed as revision 25390 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
10105c9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
sdp.c
libavformat/sdp.c
+7
-7
No files found.
libavformat/sdp.c
View file @
87b2b40a
...
...
@@ -80,7 +80,7 @@ static void sdp_write_header(char *buff, int size, struct sdp_session_level *s)
#if CONFIG_NETWORK
static
int
resolve_destination
(
char
*
dest_addr
,
int
size
,
char
*
type
,
int
type_size
)
int
type_size
)
{
struct
addrinfo
hints
,
*
ai
;
int
is_multicast
;
...
...
@@ -105,7 +105,7 @@ static int resolve_destination(char *dest_addr, int size, char *type,
}
#else
static
int
resolve_destination
(
char
*
dest_addr
,
int
size
,
char
*
type
,
int
type_size
)
int
type_size
)
{
return
0
;
}
...
...
@@ -132,11 +132,11 @@ static int sdp_get_address(char *dest_addr, int size, int *ttl, const char *url)
if
(
p
)
{
char
buff
[
64
];
if
(
find_info_tag
(
buff
,
sizeof
(
buff
),
"ttl"
,
p
))
{
*
ttl
=
strtol
(
buff
,
NULL
,
10
);
}
else
{
*
ttl
=
5
;
}
if
(
find_info_tag
(
buff
,
sizeof
(
buff
),
"ttl"
,
p
))
{
*
ttl
=
strtol
(
buff
,
NULL
,
10
);
}
else
{
*
ttl
=
5
;
}
}
return
port
;
...
...
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