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
f9368466
Commit
f9368466
authored
Nov 15, 2011
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swr: use designated initializers for the class.
parent
7e516a11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
swresample.c
libswresample/swresample.c
+8
-1
No files found.
libswresample/swresample.c
View file @
f9368466
...
...
@@ -61,7 +61,14 @@ static const char* context_to_name(void* ptr) {
return
"SWR"
;
}
static
const
AVClass
av_class
=
{
"SwrContext"
,
context_to_name
,
options
,
LIBAVUTIL_VERSION_INT
,
OFFSET
(
log_level_offset
),
OFFSET
(
log_ctx
)
};
static
const
AVClass
av_class
=
{
.
class_name
=
"SwrContext"
,
.
item_name
=
context_to_name
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
.
log_level_offset_offset
=
OFFSET
(
log_level_offset
),
.
parent_log_context_offset
=
OFFSET
(
log_ctx
),
};
static
int
resample
(
SwrContext
*
s
,
AudioData
*
out_param
,
int
out_count
,
const
AudioData
*
in_param
,
int
in_count
);
...
...
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