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
420990db
Commit
420990db
authored
Jun 19, 2012
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libilbc: use designated initializers for AVClass
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
10952e06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
libilbc.c
libavcodec/libilbc.c
+8
-2
No files found.
libavcodec/libilbc.c
View file @
420990db
...
@@ -50,7 +50,10 @@ static const AVOption ilbc_dec_options[] = {
...
@@ -50,7 +50,10 @@ static const AVOption ilbc_dec_options[] = {
};
};
static
const
AVClass
ilbc_dec_class
=
{
static
const
AVClass
ilbc_dec_class
=
{
"libilbc"
,
av_default_item_name
,
ilbc_dec_options
,
LIBAVUTIL_VERSION_INT
.
class_name
=
"libilbc"
,
.
item_name
=
av_default_item_name
,
.
option
=
ilbc_dec_options
,
.
version
=
LIBAVUTIL_VERSION_INT
.
};
};
static
av_cold
int
ilbc_decode_init
(
AVCodecContext
*
avctx
)
static
av_cold
int
ilbc_decode_init
(
AVCodecContext
*
avctx
)
...
@@ -127,7 +130,10 @@ static const AVOption ilbc_enc_options[] = {
...
@@ -127,7 +130,10 @@ static const AVOption ilbc_enc_options[] = {
};
};
static
const
AVClass
ilbc_enc_class
=
{
static
const
AVClass
ilbc_enc_class
=
{
"libilbc"
,
av_default_item_name
,
ilbc_enc_options
,
LIBAVUTIL_VERSION_INT
.
class_name
=
"libilbc"
,
.
item_name
=
av_default_item_name
,
.
option
=
ilbc_enc_options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
};
static
av_cold
int
ilbc_encode_init
(
AVCodecContext
*
avctx
)
static
av_cold
int
ilbc_encode_init
(
AVCodecContext
*
avctx
)
...
...
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