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
8460b757
Commit
8460b757
authored
Jul 31, 2011
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not ignore opt_default() return values.
parent
222b333e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
ffmpeg.c
ffmpeg.c
+4
-8
No files found.
ffmpeg.c
View file @
8460b757
...
...
@@ -3030,8 +3030,7 @@ static int opt_qscale(const char *opt, const char *arg)
static
int
opt_top_field_first
(
const
char
*
opt
,
const
char
*
arg
)
{
top_field_first
=
parse_number_or_die
(
opt
,
arg
,
OPT_INT
,
0
,
1
);
opt_default
(
opt
,
arg
);
return
0
;
return
opt_default
(
opt
,
arg
);
}
static
int
opt_thread_count
(
const
char
*
opt
,
const
char
*
arg
)
...
...
@@ -3077,15 +3076,13 @@ static int opt_audio_channels(const char *opt, const char *arg)
static
int
opt_video_channel
(
const
char
*
opt
,
const
char
*
arg
)
{
av_log
(
NULL
,
AV_LOG_WARNING
,
"This option is deprecated, use -channel.
\n
"
);
opt_default
(
"channel"
,
arg
);
return
0
;
return
opt_default
(
"channel"
,
arg
);
}
static
int
opt_video_standard
(
const
char
*
opt
,
const
char
*
arg
)
{
av_log
(
NULL
,
AV_LOG_WARNING
,
"This option is deprecated, use -standard.
\n
"
);
opt_default
(
"standard"
,
arg
);
return
0
;
return
opt_default
(
"standard"
,
arg
);
}
static
int
opt_codec
(
const
char
*
opt
,
const
char
*
arg
)
...
...
@@ -4379,8 +4376,7 @@ static void log_callback_null(void* ptr, int level, const char* fmt, va_list vl)
static
int
opt_passlogfile
(
const
char
*
opt
,
const
char
*
arg
)
{
pass_logfilename_prefix
=
arg
;
opt_default
(
"passlogfile"
,
arg
);
return
0
;
return
opt_default
(
"passlogfile"
,
arg
);
}
static
const
OptionDef
options
[]
=
{
...
...
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