ffserver: steal SPACE_CHARS, remove one reason for internal.h that way
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -1273,6 +1273,8 @@ static void get_word(char *buf, int buf_size, const char **pp)
|
|||||||
const char *p;
|
const char *p;
|
||||||
char *q;
|
char *q;
|
||||||
|
|
||||||
|
#define SPACE_CHARS " \t\r\n"
|
||||||
|
|
||||||
p = *pp;
|
p = *pp;
|
||||||
p += strspn(p, SPACE_CHARS);
|
p += strspn(p, SPACE_CHARS);
|
||||||
q = buf;
|
q = buf;
|
||||||
|
Reference in New Issue
Block a user