diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-09-07 16:13:50 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-09-12 18:01:43 +0400 |
commit | b211607b5c97b9f0c30764c0abacc90abd9a4cc2 (patch) | |
tree | fe3da9fa93ad64df397efb2f6b8da74a617e39ab /libavfilter/vf_lut.c | |
parent | ba5e77814e5cb60d8476b831cdb6223cea98a7d4 (diff) |
avfilter: various cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_lut.c')
-rw-r--r-- | libavfilter/vf_lut.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c index 4b4c8bc61b..8c832827d5 100644 --- a/libavfilter/vf_lut.c +++ b/libavfilter/vf_lut.c @@ -92,7 +92,7 @@ static const AVOption options[] = { { "g", "set G expression", OFFSET(comp_expr_str[G]), AV_OPT_TYPE_STRING, { .str = "val" }, .flags = FLAGS }, { "b", "set B expression", OFFSET(comp_expr_str[B]), AV_OPT_TYPE_STRING, { .str = "val" }, .flags = FLAGS }, { "a", "set A expression", OFFSET(comp_expr_str[A]), AV_OPT_TYPE_STRING, { .str = "val" }, .flags = FLAGS }, - { NULL }, + { NULL } }; static av_cold void uninit(AVFilterContext *ctx) @@ -331,17 +331,18 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) } static const AVFilterPad inputs[] = { - { .name = "default", - .type = AVMEDIA_TYPE_VIDEO, - .filter_frame = filter_frame, - .config_props = config_props, + { .name = "default", + .type = AVMEDIA_TYPE_VIDEO, + .filter_frame = filter_frame, + .config_props = config_props, }, - { .name = NULL} + { NULL } }; static const AVFilterPad outputs[] = { - { .name = "default", - .type = AVMEDIA_TYPE_VIDEO, }, - { .name = NULL} + { .name = "default", + .type = AVMEDIA_TYPE_VIDEO, + }, + { NULL } }; #define DEFINE_LUT_FILTER(name_, description_) \ @@ -350,11 +351,9 @@ static const AVFilterPad outputs[] = { .description = NULL_IF_CONFIG_SMALL(description_), \ .priv_size = sizeof(LutContext), \ .priv_class = &name_ ## _class, \ - \ .init = name_##_init, \ .uninit = uninit, \ .query_formats = query_formats, \ - \ .inputs = inputs, \ .outputs = outputs, \ .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, \ @@ -411,7 +410,7 @@ DEFINE_LUT_FILTER(lutrgb, "Compute and apply a lookup table to the RGB input vid static const AVOption negate_options[] = { { "negate_alpha", NULL, OFFSET(negate_alpha), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS }, - { NULL }, + { NULL } }; AVFILTER_DEFINE_CLASS(negate); |