Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
2638af2f
Commit
2638af2f
authored
Sep 13, 2014
by
Reynaldo H. Verdejo Pinochet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffserver: drop custom skip_spaces() impl
Signed-off-by:
Reynaldo H. Verdejo Pinochet
<
reynaldo@osg.samsung.com
>
parent
4c8be331
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
ffserver.c
ffserver.c
+1
-12
No files found.
ffserver.c
View file @
2638af2f
...
...
@@ -1258,24 +1258,13 @@ static int modify_current_stream(HTTPContext *c, char *rates)
return
action_required
;
}
/* XXX: factorize in utils.c ? */
/* XXX: take care with different space meaning */
static
void
skip_spaces
(
const
char
**
pp
)
{
const
char
*
p
;
p
=
*
pp
;
while
(
*
p
==
' '
||
*
p
==
'\t'
)
p
++
;
*
pp
=
p
;
}
static
void
get_word
(
char
*
buf
,
int
buf_size
,
const
char
**
pp
)
{
const
char
*
p
;
char
*
q
;
p
=
*
pp
;
skip_spaces
(
&
p
);
p
+=
strspn
(
p
,
SPACE_CHARS
);
q
=
buf
;
while
(
!
av_isspace
(
*
p
)
&&
*
p
!=
'\0'
)
{
if
((
q
-
buf
)
<
buf_size
-
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment