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
5a8693ef
Commit
5a8693ef
authored
Aug 25, 2010
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reindent
Originally committed as revision 24919 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
7ad526d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sdp.c
libavformat/sdp.c
+4
-4
No files found.
libavformat/sdp.c
View file @
5a8693ef
...
...
@@ -94,10 +94,10 @@ static void resolve_destination(char *dest_addr, int size, char *type,
memset
(
&
hints
,
0
,
sizeof
(
hints
));
if
(
getaddrinfo
(
dest_addr
,
NULL
,
&
hints
,
&
ai
))
return
;
getnameinfo
(
ai
->
ai_addr
,
ai
->
ai_addrlen
,
dest_addr
,
size
,
NULL
,
0
,
NI_NUMERICHOST
);
if
(
ai
->
ai_family
==
AF_INET6
)
av_strlcpy
(
type
,
"IP6"
,
type_size
);
getnameinfo
(
ai
->
ai_addr
,
ai
->
ai_addrlen
,
dest_addr
,
size
,
NULL
,
0
,
NI_NUMERICHOST
);
if
(
ai
->
ai_family
==
AF_INET6
)
av_strlcpy
(
type
,
"IP6"
,
type_size
);
freeaddrinfo
(
ai
);
}
#else
...
...
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