Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
389eb0a9
Commit
389eb0a9
authored
Apr 11, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/testsrc: remove useless args/NULL passing.
parent
dd97736d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
vsrc_testsrc.c
libavfilter/vsrc_testsrc.c
+6
-6
No files found.
libavfilter/vsrc_testsrc.c
View file @
389eb0a9
...
...
@@ -103,7 +103,7 @@ static const AVOption options[] = {
{
NULL
},
};
static
av_cold
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
static
av_cold
int
init
(
AVFilterContext
*
ctx
)
{
TestSourceContext
*
test
=
ctx
->
priv
;
int
ret
=
0
;
...
...
@@ -218,7 +218,7 @@ static av_cold int color_init(AVFilterContext *ctx, const char *args)
TestSourceContext
*
test
=
ctx
->
priv
;
test
->
fill_picture_fn
=
color_fill_picture
;
test
->
draw_once
=
1
;
return
init
(
ctx
,
NULL
);
return
init
(
ctx
);
}
static
int
color_query_formats
(
AVFilterContext
*
ctx
)
...
...
@@ -287,7 +287,7 @@ static av_cold int nullsrc_init(AVFilterContext *ctx, const char *args)
TestSourceContext
*
test
=
ctx
->
priv
;
test
->
fill_picture_fn
=
nullsrc_fill_picture
;
return
init
(
ctx
,
NULL
);
return
init
(
ctx
);
}
static
const
AVFilterPad
nullsrc_outputs
[]
=
{
...
...
@@ -505,7 +505,7 @@ static av_cold int test_init(AVFilterContext *ctx, const char *args)
TestSourceContext
*
test
=
ctx
->
priv
;
test
->
fill_picture_fn
=
test_fill_picture
;
return
init
(
ctx
,
NULL
);
return
init
(
ctx
);
}
static
int
test_query_formats
(
AVFilterContext
*
ctx
)
...
...
@@ -610,7 +610,7 @@ static av_cold int rgbtest_init(AVFilterContext *ctx, const char *args)
test
->
draw_once
=
1
;
test
->
fill_picture_fn
=
rgbtest_fill_picture
;
return
init
(
ctx
,
NULL
);
return
init
(
ctx
);
}
static
int
rgbtest_query_formats
(
AVFilterContext
*
ctx
)
...
...
@@ -760,7 +760,7 @@ static av_cold int smptebars_init(AVFilterContext *ctx, const char *args)
test
->
fill_picture_fn
=
smptebars_fill_picture
;
test
->
draw_once
=
1
;
return
init
(
ctx
,
args
);
return
init
(
ctx
);
}
static
int
smptebars_query_formats
(
AVFilterContext
*
ctx
)
...
...
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