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
2b720674
Commit
2b720674
authored
Oct 18, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asrc_aevalsrc: apply misc cleanup in the options array
Prefer AV_OPT_* over FF_OPT, vertically align fields.
parent
3f20eada
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
asrc_aevalsrc.c
libavfilter/asrc_aevalsrc.c
+4
-4
No files found.
libavfilter/asrc_aevalsrc.c
View file @
2b720674
...
@@ -62,10 +62,10 @@ typedef struct {
...
@@ -62,10 +62,10 @@ typedef struct {
#define OFFSET(x) offsetof(EvalContext, x)
#define OFFSET(x) offsetof(EvalContext, x)
static
const
AVOption
eval_options
[]
=
{
static
const
AVOption
eval_options
[]
=
{
{
"nb_samples"
,
"set the number of samples per requested frame"
,
OFFSET
(
nb_samples
),
FF_OPT_TYPE_INT
,
{.
dbl
=
1024
},
0
,
INT_MAX
},
{
"nb_samples"
,
"set the number of samples per requested frame"
,
OFFSET
(
nb_samples
),
AV_OPT_TYPE_INT
,
{.
dbl
=
1024
},
0
,
INT_MAX
},
{
"n"
,
"set the number of samples per requested frame"
,
OFFSET
(
nb_samples
),
FF_OPT_TYPE_INT
,
{.
dbl
=
1024
},
0
,
INT_MAX
},
{
"n"
,
"set the number of samples per requested frame"
,
OFFSET
(
nb_samples
),
AV_OPT_TYPE_INT
,
{.
dbl
=
1024
},
0
,
INT_MAX
},
{
"sample_rate"
,
"set the sample rate"
,
OFFSET
(
sample_rate_str
),
FF_OPT_TYPE_STRING
,
{.
str
=
"44100"
},
0
,
INT
_MAX
},
{
"sample_rate"
,
"set the sample rate"
,
OFFSET
(
sample_rate_str
),
AV_OPT_TYPE_STRING
,
{.
str
=
"44100"
},
CHAR_MIN
,
CHAR
_MAX
},
{
"s"
,
"set the sample rate"
,
OFFSET
(
sample_rate_str
),
FF_OPT_TYPE_STRING
,
{.
str
=
"44100"
},
0
,
INT
_MAX
},
{
"s"
,
"set the sample rate"
,
OFFSET
(
sample_rate_str
),
AV_OPT_TYPE_STRING
,
{.
str
=
"44100"
},
CHAR_MIN
,
CHAR
_MAX
},
{
NULL
},
{
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