summaryrefslogtreecommitdiff
path: root/libavformat/sdp.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-08-25 13:31:33 +0000
committerMartin Storsjö <martin@martin.st>2010-08-25 13:31:33 +0000
commit5a8693ef592af559f3844013cfc24e63af48de08 (patch)
treeb6008cd035aa28460a233d67c8a76cdd88b37a37 /libavformat/sdp.c
parent7ad526d288a2e992ed83bf98d72ccf1347cef407 (diff)
downloadffmpeg-5a8693ef592af559f3844013cfc24e63af48de08.tar.gz
Reindent
Originally committed as revision 24919 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r--libavformat/sdp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index 249d19ad28..34eb58672e 100644
--- 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