Reindent
Originally committed as revision 25317 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -102,12 +102,12 @@ static void make_absolute_url(char *buf, int size, const char *base,
|
|||||||
else
|
else
|
||||||
buf[0] = '\0';
|
buf[0] = '\0';
|
||||||
while (av_strstart(rel, "../", NULL) && sep) {
|
while (av_strstart(rel, "../", NULL) && sep) {
|
||||||
sep[0] = '\0';
|
sep[0] = '\0';
|
||||||
sep = strrchr(buf, '/');
|
sep = strrchr(buf, '/');
|
||||||
if (sep)
|
if (sep)
|
||||||
sep[1] = '\0';
|
sep[1] = '\0';
|
||||||
else
|
else
|
||||||
buf[0] = '\0';
|
buf[0] = '\0';
|
||||||
rel += 3;
|
rel += 3;
|
||||||
}
|
}
|
||||||
av_strlcat(buf, rel, size);
|
av_strlcat(buf, rel, size);
|
||||||
|
|||||||
Reference in New Issue
Block a user