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
4e70eeef
Commit
4e70eeef
authored
Nov 21, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdutils: randomize spaces after
69cf626f
.
parent
8c9df116
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cmdutils.c
cmdutils.c
+5
-5
No files found.
cmdutils.c
View file @
4e70eeef
...
...
@@ -1081,24 +1081,24 @@ static void print_program_info(int flags, int level)
static
void
print_buildconf
(
int
flags
,
int
level
)
{
const
char
*
indent
=
flags
&
INDENT
?
" "
:
""
;
const
char
*
indent
=
flags
&
INDENT
?
" "
:
""
;
char
str
[]
=
{
FFMPEG_CONFIGURATION
};
char
*
conflist
,
*
remove_tilde
,
*
splitconf
;
// Change all the ' --' strings to '~--' so that
// they can be identified as tokens.
while
(
(
conflist
=
strstr
(
str
,
" --"
))
!=
NULL
)
{
while
(
(
conflist
=
strstr
(
str
,
" --"
))
!=
NULL
)
{
strncpy
(
conflist
,
"~--"
,
3
);
}
// Compensate for the weirdness this would cause
// when passing 'pkg-config --static'.
while
(
(
remove_tilde
=
strstr
(
str
,
"pkg-config~"
))
!=
NULL
)
{
strncpy
(
remove_tilde
,
"pkg-config "
,
11
);
while
(
(
remove_tilde
=
strstr
(
str
,
"pkg-config~"
))
!=
NULL
)
{
strncpy
(
remove_tilde
,
"pkg-config "
,
11
);
}
splitconf
=
strtok
(
str
,
"~"
);
av_log
(
NULL
,
level
,
"
\n
%sconfiguration:
\n
"
,
indent
);
av_log
(
NULL
,
level
,
"
\n
%sconfiguration:
\n
"
,
indent
);
while
(
splitconf
!=
NULL
)
{
av_log
(
NULL
,
level
,
"%s%s%s
\n
"
,
indent
,
indent
,
splitconf
);
splitconf
=
strtok
(
NULL
,
"~"
);
...
...
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