MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / parse_expires

Function parse_expires

libavformat/http.c:1136–1143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1134}
1135
1136static void parse_expires(HTTPContext *s, const char *p)
1137{
1138 struct tm tm;
1139
1140 if (!parse_http_date(p, &tm)) {
1141 s->expires = av_timegm(&tm);
1142 }
1143}
1144
1145static void parse_cache_control(HTTPContext *s, const char *p)
1146{

Callers 1

process_lineFunction · 0.85

Calls 2

parse_http_dateFunction · 0.85
av_timegmFunction · 0.85

Tested by

no test coverage detected