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
a7e2b2cc
Commit
a7e2b2cc
authored
Sep 04, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.h
Also change it to be more readable.
parent
0962f23b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
opt.c
libavutil/opt.c
+0
-6
opt.h
libavutil/opt.h
+5
-0
No files found.
libavutil/opt.c
View file @
a7e2b2cc
...
@@ -414,12 +414,6 @@ int av_opt_show2(void *obj, void *av_log_obj, int req_flags, int rej_flags)
...
@@ -414,12 +414,6 @@ int av_opt_show2(void *obj, void *av_log_obj, int req_flags, int rej_flags)
return
0
;
return
0
;
}
}
/** Set the values of the AVCodecContext or AVFormatContext structure.
* They are set to the defaults specified in the according AVOption options
* array default_val field.
*
* @param s AVCodecContext or AVFormatContext for which the defaults will be set
*/
void
av_opt_set_defaults2
(
void
*
s
,
int
mask
,
int
flags
)
void
av_opt_set_defaults2
(
void
*
s
,
int
mask
,
int
flags
)
{
{
const
AVOption
*
opt
=
NULL
;
const
AVOption
*
opt
=
NULL
;
...
...
libavutil/opt.h
View file @
a7e2b2cc
...
@@ -160,6 +160,11 @@ const AVOption *av_next_option(void *obj, const AVOption *last);
...
@@ -160,6 +160,11 @@ const AVOption *av_next_option(void *obj, const AVOption *last);
*/
*/
int
av_opt_show2
(
void
*
obj
,
void
*
av_log_obj
,
int
req_flags
,
int
rej_flags
);
int
av_opt_show2
(
void
*
obj
,
void
*
av_log_obj
,
int
req_flags
,
int
rej_flags
);
/**
* Set the values of all AVOption fields to their default values.
*
* @param s an AVOption-enabled struct (its first member must be a pointer to AVClass)
*/
void
av_opt_set_defaults
(
void
*
s
);
void
av_opt_set_defaults
(
void
*
s
);
void
av_opt_set_defaults2
(
void
*
s
,
int
mask
,
int
flags
);
void
av_opt_set_defaults2
(
void
*
s
,
int
mask
,
int
flags
);
...
...
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