summaryrefslogtreecommitdiff
path: root/libavfilter/vsrc_cellauto.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-09-07 12:13:50 +0000
committerPaul B Mahol <onemda@gmail.com>2013-09-12 14:01:43 +0000
commitb211607b5c97b9f0c30764c0abacc90abd9a4cc2 (patch)
treefe3da9fa93ad64df397efb2f6b8da74a617e39ab /libavfilter/vsrc_cellauto.c
parentba5e77814e5cb60d8476b831cdb6223cea98a7d4 (diff)
avfilter: various cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vsrc_cellauto.c')
-rw-r--r--libavfilter/vsrc_cellauto.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c
index a51cda3b2d..c8b0b76eb8 100644
--- a/libavfilter/vsrc_cellauto.c
+++ b/libavfilter/vsrc_cellauto.c
@@ -77,7 +77,7 @@ static const AVOption cellauto_options[] = {
{ "start_full", "start filling the whole video", OFFSET(start_full), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, FLAGS },
{ "full", "start filling the whole video", OFFSET(start_full), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, FLAGS },
{ "stitch", "stitch boundaries", OFFSET(stitch), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, FLAGS },
- { NULL },
+ { NULL }
};
AVFILTER_DEFINE_CLASS(cellauto);
@@ -316,22 +316,22 @@ static int query_formats(AVFilterContext *ctx)
static const AVFilterPad cellauto_outputs[] = {
{
- .name = "default",
- .type = AVMEDIA_TYPE_VIDEO,
- .request_frame = request_frame,
- .config_props = config_props,
+ .name = "default",
+ .type = AVMEDIA_TYPE_VIDEO,
+ .request_frame = request_frame,
+ .config_props = config_props,
},
{ NULL }
};
AVFilter avfilter_vsrc_cellauto = {
- .name = "cellauto",
- .description = NULL_IF_CONFIG_SMALL("Create pattern generated by an elementary cellular automaton."),
- .priv_size = sizeof(CellAutoContext),
- .init = init,
- .uninit = uninit,
+ .name = "cellauto",
+ .description = NULL_IF_CONFIG_SMALL("Create pattern generated by an elementary cellular automaton."),
+ .priv_size = sizeof(CellAutoContext),
+ .priv_class = &cellauto_class,
+ .init = init,
+ .uninit = uninit,
.query_formats = query_formats,
.inputs = NULL,
.outputs = cellauto_outputs,
- .priv_class = &cellauto_class,
};