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
f6d28cf0
Commit
f6d28cf0
authored
Jun 23, 2011
by
Jeff Downs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parse_options(): Avoid passing NULL as a string arg to fprintf
parent
f925b243
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cmdutils.c
cmdutils.c
+1
-1
No files found.
cmdutils.c
View file @
f6d28cf0
...
@@ -281,7 +281,7 @@ unknown_opt:
...
@@ -281,7 +281,7 @@ unknown_opt:
*
po
->
u
.
float_arg
=
parse_number_or_die
(
opt
,
arg
,
OPT_FLOAT
,
-
INFINITY
,
INFINITY
);
*
po
->
u
.
float_arg
=
parse_number_or_die
(
opt
,
arg
,
OPT_FLOAT
,
-
INFINITY
,
INFINITY
);
}
else
if
(
po
->
u
.
func_arg
)
{
}
else
if
(
po
->
u
.
func_arg
)
{
if
(
po
->
u
.
func_arg
(
opt
,
arg
)
<
0
)
{
if
(
po
->
u
.
func_arg
(
opt
,
arg
)
<
0
)
{
fprintf
(
stderr
,
"%s: failed to set value '%s' for option '%s'
\n
"
,
argv
[
0
],
arg
,
opt
);
fprintf
(
stderr
,
"%s: failed to set value '%s' for option '%s'
\n
"
,
argv
[
0
],
arg
?
arg
:
"[null]"
,
opt
);
exit
(
1
);
exit
(
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