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
25062441
Commit
25062441
authored
Sep 11, 2015
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/wavenc: use AV_OPT_TYPE_BOOL for write_bext option
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
8b72f6d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wavenc.c
libavformat/wavenc.c
+1
-1
No files found.
libavformat/wavenc.c
View file @
25062441
...
@@ -502,7 +502,7 @@ static int wav_write_trailer(AVFormatContext *s)
...
@@ -502,7 +502,7 @@ static int wav_write_trailer(AVFormatContext *s)
#define OFFSET(x) offsetof(WAVMuxContext, x)
#define OFFSET(x) offsetof(WAVMuxContext, x)
#define ENC AV_OPT_FLAG_ENCODING_PARAM
#define ENC AV_OPT_FLAG_ENCODING_PARAM
static
const
AVOption
options
[]
=
{
static
const
AVOption
options
[]
=
{
{
"write_bext"
,
"Write BEXT chunk."
,
OFFSET
(
write_bext
),
AV_OPT_TYPE_
INT
,
{
.
i64
=
0
},
0
,
1
,
ENC
},
{
"write_bext"
,
"Write BEXT chunk."
,
OFFSET
(
write_bext
),
AV_OPT_TYPE_
BOOL
,
{
.
i64
=
0
},
0
,
1
,
ENC
},
{
"write_peak"
,
"Write Peak Envelope chunk."
,
OFFSET
(
write_peak
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
2
,
ENC
,
"peak"
},
{
"write_peak"
,
"Write Peak Envelope chunk."
,
OFFSET
(
write_peak
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
2
,
ENC
,
"peak"
},
{
"off"
,
"Do not write peak chunk."
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
PEAK_OFF
},
0
,
0
,
ENC
,
"peak"
},
{
"off"
,
"Do not write peak chunk."
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
PEAK_OFF
},
0
,
0
,
ENC
,
"peak"
},
{
"on"
,
"Append peak chunk after wav data."
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
PEAK_ON
},
0
,
0
,
ENC
,
"peak"
},
{
"on"
,
"Append peak chunk after wav data."
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
PEAK_ON
},
0
,
0
,
ENC
,
"peak"
},
...
...
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