mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-15 03:34:56 +00:00
Reindent
Originally committed as revision 25317 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8f7c2452de
commit
978a5ce82e
@ -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…
Reference in New Issue
Block a user