]> git.sesse.net Git - ffmpeg/commitdiff
Reindent
authorMartin Storsjö <martin@martin.st>
Sat, 2 Oct 2010 21:58:13 +0000 (21:58 +0000)
committerMartin Storsjö <martin@martin.st>
Sat, 2 Oct 2010 21:58:13 +0000 (21:58 +0000)
Originally committed as revision 25317 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/applehttp.c

index 1252dc5a68ef52f8937cae16ab38120bea885c81..f8f1f39a3c441a14ce412d9b69862b1c349c8ee7 100644 (file)
@@ -102,12 +102,12 @@ static void make_absolute_url(char *buf, int size, const char *base,
     else
         buf[0] = '\0';
     while (av_strstart(rel, "../", NULL) && sep) {
-            sep[0] = '\0';
-            sep = strrchr(buf, '/');
-            if (sep)
-                sep[1] = '\0';
-            else
-                buf[0] = '\0';
+        sep[0] = '\0';
+        sep = strrchr(buf, '/');
+        if (sep)
+            sep[1] = '\0';
+        else
+            buf[0] = '\0';
         rel += 3;
     }
     av_strlcat(buf, rel, size);