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_scale.c | |
parent | ba5e77814e5cb60d8476b831cdb6223cea98a7d4 (diff) |
avfilter: various cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r-- | libavfilter/vf_scale.c | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index d764d211a2..9115c23567 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -538,7 +538,7 @@ static const AVOption scale_options[] = { { "disable", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = 0 }, 0, 0, FLAGS, "force_oar" }, { "decrease", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = 1 }, 0, 0, FLAGS, "force_oar" }, { "increase", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = 2 }, 0, 0, FLAGS, "force_oar" }, - { NULL }, + { NULL } }; static const AVClass scale_class = { @@ -551,8 +551,8 @@ static const AVClass scale_class = { static const AVFilterPad avfilter_vf_scale_inputs[] = { { - .name = "default", - .type = AVMEDIA_TYPE_VIDEO, + .name = "default", + .type = AVMEDIA_TYPE_VIDEO, .filter_frame = filter_frame, }, { NULL } @@ -568,17 +568,13 @@ static const AVFilterPad avfilter_vf_scale_outputs[] = { }; AVFilter avfilter_vf_scale = { - .name = "scale", - .description = NULL_IF_CONFIG_SMALL("Scale the input video to width:height size and/or convert the image format."), - - .init_dict = init_dict, - .uninit = uninit, - + .name = "scale", + .description = NULL_IF_CONFIG_SMALL("Scale the input video to width:height size and/or convert the image format."), + .init_dict = init_dict, + .uninit = uninit, .query_formats = query_formats, - - .priv_size = sizeof(ScaleContext), - .priv_class = &scale_class, - - .inputs = avfilter_vf_scale_inputs, - .outputs = avfilter_vf_scale_outputs, + .priv_size = sizeof(ScaleContext), + .priv_class = &scale_class, + .inputs = avfilter_vf_scale_inputs, + .outputs = avfilter_vf_scale_outputs, }; |