diff options
author | Martin Storsjö <martin@martin.st> | 2010-10-02 21:58:13 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-10-02 21:58:13 +0000 |
commit | 978a5ce82e56cd48e47766a16fd406c8bfbfba04 (patch) | |
tree | d79696eb633f473a5067b9e6b8ecb72517ff9834 /libavformat/applehttp.c | |
parent | 8f7c2452dee8d8b72a6c0898ac90c44a4a7d9809 (diff) | |
download | ffmpeg-978a5ce82e56cd48e47766a16fd406c8bfbfba04.tar.gz |
Reindent
Originally committed as revision 25317 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/applehttp.c')
-rw-r--r-- | libavformat/applehttp.c | 12 |
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); |