mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
lavf/http: Indent else-clause.
Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
This commit is contained in:
parent
a7e7c68b0e
commit
290b237556
@ -611,17 +611,16 @@ static int process_line(URLContext *h, char *line, int line_count,
|
|||||||
}
|
}
|
||||||
av_log(h, AV_LOG_TRACE, "HTTP version string: %s\n", version);
|
av_log(h, AV_LOG_TRACE, "HTTP version string: %s\n", version);
|
||||||
} else {
|
} else {
|
||||||
/* TODO: reindent */
|
while (!av_isspace(*p) && *p != '\0')
|
||||||
while (!av_isspace(*p) && *p != '\0')
|
p++;
|
||||||
p++;
|
while (av_isspace(*p))
|
||||||
while (av_isspace(*p))
|
p++;
|
||||||
p++;
|
s->http_code = strtol(p, &end, 10);
|
||||||
s->http_code = strtol(p, &end, 10);
|
|
||||||
|
|
||||||
av_log(h, AV_LOG_TRACE, "http_code=%d\n", s->http_code);
|
av_log(h, AV_LOG_TRACE, "http_code=%d\n", s->http_code);
|
||||||
|
|
||||||
if ((ret = check_http_code(h, s->http_code, end)) < 0)
|
if ((ret = check_http_code(h, s->http_code, end)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
while (*p != '\0' && *p != ':')
|
while (*p != '\0' && *p != ':')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user