OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecb40de
)
ffserver: steal SPACE_CHARS, remove one reason for internal.h that way
author
Michael Niedermayer
<michael@niedermayer.cc>
Fri, 28 Oct 2016 17:28:39 +0000
(19:28 +0200)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
18857cc
..
e7fc62d
100644
(file)
--- 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;