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
01b2d128
Commit
01b2d128
authored
Mar 29, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/volume: use designated initializers for the sample_fmts declaration.
parent
4dae804d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
af_volume.c
libavfilter/af_volume.c
+3
-6
No files found.
libavfilter/af_volume.c
View file @
01b2d128
...
...
@@ -80,8 +80,7 @@ static int query_formats(AVFilterContext *ctx)
AVFilterFormats
*
formats
=
NULL
;
AVFilterChannelLayouts
*
layouts
;
static
const
enum
AVSampleFormat
sample_fmts
[][
7
]
=
{
/* PRECISION_FIXED */
{
[
PRECISION_FIXED
]
=
{
AV_SAMPLE_FMT_U8
,
AV_SAMPLE_FMT_U8P
,
AV_SAMPLE_FMT_S16
,
...
...
@@ -90,14 +89,12 @@ static int query_formats(AVFilterContext *ctx)
AV_SAMPLE_FMT_S32P
,
AV_SAMPLE_FMT_NONE
},
/* PRECISION_FLOAT */
{
[
PRECISION_FLOAT
]
=
{
AV_SAMPLE_FMT_FLT
,
AV_SAMPLE_FMT_FLTP
,
AV_SAMPLE_FMT_NONE
},
/* PRECISION_DOUBLE */
{
[
PRECISION_DOUBLE
]
=
{
AV_SAMPLE_FMT_DBL
,
AV_SAMPLE_FMT_DBLP
,
AV_SAMPLE_FMT_NONE
...
...
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