OSDN Git Service

ffserver: steal SPACE_CHARS, remove one reason for internal.h that way
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 28 Oct 2016 17:28:39 +0000 (19:28 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 7 Nov 2016 18:27:40 +0000 (19:27 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
ffserver.c

index 18857cc..e7fc62d 100644 (file)
@@ -1273,6 +1273,8 @@ static void get_word(char *buf, int buf_size, const char **pp)
     const char *p;
     char *q;
 
+#define SPACE_CHARS " \t\r\n"
+
     p = *pp;
     p += strspn(p, SPACE_CHARS);
     q = buf;