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
0ba1e197
Commit
0ba1e197
authored
Oct 03, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: use designated initializers for av_codec_context_class
parent
dd376b1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
options.c
libavcodec/options.c
+8
-1
No files found.
libavcodec/options.c
View file @
0ba1e197
...
...
@@ -516,7 +516,14 @@ static const AVOption options[]={
#undef D
#undef DEFAULT
static
const
AVClass
av_codec_context_class
=
{
"AVCodecContext"
,
context_to_name
,
options
,
LIBAVUTIL_VERSION_INT
,
OFFSET
(
log_level_offset
),
.
opt_find
=
opt_find
};
static
const
AVClass
av_codec_context_class
=
{
.
class_name
=
"AVCodecContext"
,
.
item_name
=
context_to_name
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
log_level_offset_offset
=
OFFSET
(
log_level_offset
),
.
opt_find
=
opt_find
,
};
void
avcodec_get_context_defaults2
(
AVCodecContext
*
s
,
enum
AVMediaType
codec_type
){
memset
(
s
,
0
,
sizeof
(
AVCodecContext
));
...
...
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