projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ad526d
)
Reindent
author
Martin Storsjö
<martin@martin.st>
Wed, 25 Aug 2010 13:31:33 +0000
(13:31 +0000)
committer
Martin Storsjö
<martin@martin.st>
Wed, 25 Aug 2010 13:31:33 +0000
(13:31 +0000)
Originally committed as revision 24919 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/sdp.c
patch
|
blob
|
history
diff --git
a/libavformat/sdp.c
b/libavformat/sdp.c
index
249d19a
..
34eb586
100644
(file)
--- a/
libavformat/sdp.c
+++ b/
libavformat/sdp.c
@@
-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