aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-10-28 19:28:39 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-11-07 19:27:40 +0100
commit73ce1d864c6aec282febea5e891d41c44783db79 (patch)
tree6bafc706d1923fb11caa22078828104d00f0093a
parentecb40dee3284393c5adb760515ecba668db282da (diff)
downloadffmpeg-73ce1d864c6aec282febea5e891d41c44783db79.tar.gz
ffserver: steal SPACE_CHARS, remove one reason for internal.h that way
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--ffserver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 18857cc389..e7fc62d375 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -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;