Browse Source

Reindent

Originally committed as revision 25317 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Martin Storsjö 15 years ago
parent
commit
978a5ce82e
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      libavformat/applehttp.c

+ 6
- 6
libavformat/applehttp.c View 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);


Loading…
Cancel
Save