summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-10-02 21:58:13 +0000
committerMartin Storsjö <martin@martin.st>2010-10-02 21:58:13 +0000
commit978a5ce82e56cd48e47766a16fd406c8bfbfba04 (patch)
treed79696eb633f473a5067b9e6b8ecb72517ff9834 /libavformat
parent8f7c2452dee8d8b72a6c0898ac90c44a4a7d9809 (diff)
Reindent
Originally committed as revision 25317 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/applehttp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/applehttp.c b/libavformat/applehttp.c
index 1252dc5a68..f8f1f39a3c 100644
--- a/libavformat/applehttp.c
+++ b/libavformat/applehttp.c
@@ -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);