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
e600d062
Commit
e600d062
authored
Mar 26, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/perms: remove unecessary indirection after
f7324c06
.
parent
bd03afb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
f_perms.c
libavfilter/f_perms.c
+3
-13
No files found.
libavfilter/f_perms.c
View file @
e600d062
...
...
@@ -50,7 +50,7 @@ static const AVOption options[] = {
{
NULL
}
};
static
av_cold
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
,
const
AVClass
*
class
)
static
av_cold
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
{
PermsContext
*
perms
=
ctx
->
priv
;
...
...
@@ -108,11 +108,6 @@ static const char *const shorthand[] = { "mode", NULL };
#define aperms_options options
AVFILTER_DEFINE_CLASS
(
aperms
);
static
av_cold
int
aperms_init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
{
return
init
(
ctx
,
args
,
&
aperms_class
);
}
static
const
AVFilterPad
aperms_inputs
[]
=
{
{
.
name
=
"default"
,
...
...
@@ -133,7 +128,7 @@ static const AVFilterPad aperms_outputs[] = {
AVFilter
avfilter_af_aperms
=
{
.
name
=
"aperms"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Set permissions for the output audio frame."
),
.
init
=
aperms_
init
,
.
init
=
init
,
.
priv_size
=
sizeof
(
PermsContext
),
.
inputs
=
aperms_inputs
,
.
outputs
=
aperms_outputs
,
...
...
@@ -147,11 +142,6 @@ AVFilter avfilter_af_aperms = {
#define perms_options options
AVFILTER_DEFINE_CLASS
(
perms
);
static
av_cold
int
perms_init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
{
return
init
(
ctx
,
args
,
&
perms_class
);
}
static
const
AVFilterPad
perms_inputs
[]
=
{
{
.
name
=
"default"
,
...
...
@@ -172,7 +162,7 @@ static const AVFilterPad perms_outputs[] = {
AVFilter
avfilter_vf_perms
=
{
.
name
=
"perms"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Set permissions for the output video frame."
),
.
init
=
perms_
init
,
.
init
=
init
,
.
priv_size
=
sizeof
(
PermsContext
),
.
inputs
=
perms_inputs
,
.
outputs
=
perms_outputs
,
...
...
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