From 978a5ce82e56cd48e47766a16fd406c8bfbfba04 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Storsj=C3=B6?= Date: Sat, 2 Oct 2010 21:58:13 +0000 Subject: [PATCH] Reindent Originally committed as revision 25317 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/applehttp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavformat/applehttp.c b/libavformat/applehttp.c index 1252dc5..f8f1f39 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); -- 2.7.4