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
d7de48f0
Commit
d7de48f0
authored
Dec 13, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mov: Simplify code by using OFFSET() and FLAGS macros
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
43fb40c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
mov.c
libavformat/mov.c
+9
-9
No files found.
libavformat/mov.c
View file @
d7de48f0
...
...
@@ -4221,21 +4221,21 @@ static int mov_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
static
const
AVOption
mov_options
[]
=
{
{
"use_absolute_path"
,
"allow using absolute path when opening alias, this is a possible security issue"
,
offsetof
(
MOVContext
,
use_absolute_path
),
FF_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
1
,
AV_OPT_FLAG_VIDEO_PARAM
|
AV_OPT_FLAG_DECODING_PARAM
},
{
"ignore_editlist"
,
""
,
offsetof
(
MOVContext
,
ignore_editlist
),
FF_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
1
,
AV_OPT_FLAG_VIDEO_PARAM
|
AV_OPT_FLAG_DECODING_PARAM
},
OFFSET
(
use_absolute_path
),
FF_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"ignore_editlist"
,
""
,
OFFSET
(
ignore_editlist
),
FF_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"use_mfra_for"
,
"use mfra for fragment timestamps"
,
offsetof
(
MOVContext
,
use_mfra_for
),
FF_OPT_TYPE_INT
,
{.
i64
=
FF_MOV_FLAG_MFRA_AUTO
},
-
1
,
FF_MOV_FLAG_MFRA_PTS
,
AV_OPT_FLAG_VIDEO_PARAM
|
AV_OPT_FLAG_DECODING_PARAM
,
OFFSET
(
use_mfra_for
),
FF_OPT_TYPE_INT
,
{.
i64
=
FF_MOV_FLAG_MFRA_AUTO
},
-
1
,
FF_MOV_FLAG_MFRA_PTS
,
FLAGS
,
"use_mfra_for"
},
{
"auto"
,
"auto"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_MOV_FLAG_MFRA_AUTO
},
0
,
0
,
AV_OPT_FLAG_VIDEO_PARAM
|
AV_OPT_FLAG_DECODING_PARAM
,
"use_mfra_for"
},
FLAGS
,
"use_mfra_for"
},
{
"dts"
,
"dts"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_MOV_FLAG_MFRA_DTS
},
0
,
0
,
AV_OPT_FLAG_VIDEO_PARAM
|
AV_OPT_FLAG_DECODING_PARAM
,
"use_mfra_for"
},
FLAGS
,
"use_mfra_for"
},
{
"pts"
,
"pts"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_MOV_FLAG_MFRA_PTS
},
0
,
0
,
AV_OPT_FLAG_VIDEO_PARAM
|
AV_OPT_FLAG_DECODING_PARAM
,
"use_mfra_for"
},
FLAGS
,
"use_mfra_for"
},
{
"export_all"
,
"Export unrecognized metadata entries"
,
OFFSET
(
export_all
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
1
,
.
flags
=
FLAGS
},
{
"export_xmp"
,
"Export full XMP metadata"
,
OFFSET
(
export_xmp
),
...
...
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