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

Function get_word

ffserver.c:1214–1230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1212}
1213
1214static void get_word(char *buf, int buf_size, const char **pp)
1215{
1216 const char *p;
1217 char *q;
1218
1219 p = *pp;
1220 skip_spaces(&p);
1221 q = buf;
1222 while (!isspace(*p) && *p != '\0') {
1223 if ((q - buf) < buf_size - 1)
1224 *q++ = *p;
1225 p++;
1226 }
1227 if (buf_size > 0)
1228 *q = '\0';
1229 *pp = p;
1230}
1231
1232static void get_arg(char *buf, int buf_size, const char **pp)
1233{

Callers 2

http_parse_requestFunction · 0.70
rtsp_parse_requestFunction · 0.70

Calls 1

skip_spacesFunction · 0.70

Tested by

no test coverage detected