changeset 6409:fe8fadaf5fb6 libavformat

Reindent
author mstorsjo
date Wed, 25 Aug 2010 13:31:33 +0000
parents 3a89d4044e01
children 31aef55204bd
files sdp.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/sdp.c	Wed Aug 25 13:30:06 2010 +0000
+++ b/sdp.c	Wed Aug 25 13:31:33 2010 +0000
@@ -94,10 +94,10 @@
     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