Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-10-28 20:28:39 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-11-07 21:27:40 +0300
commit73ce1d864c6aec282febea5e891d41c44783db79 (patch)
tree6bafc706d1923fb11caa22078828104d00f0093a /ffserver.c
parentecb40dee3284393c5adb760515ecba668db282da (diff)
ffserver: steal SPACE_CHARS, remove one reason for internal.h that way
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffserver.c')
-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;