Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-09-07 16:13:50 +0400
committerPaul B Mahol <onemda@gmail.com>2013-09-12 18:01:43 +0400
commitb211607b5c97b9f0c30764c0abacc90abd9a4cc2 (patch)
treefe3da9fa93ad64df397efb2f6b8da74a617e39ab /libavfilter/vf_field.c
parentba5e77814e5cb60d8476b831cdb6223cea98a7d4 (diff)
avfilter: various cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_field.c')
-rw-r--r--libavfilter/vf_field.c26
1 files changed, 12 insertions, 14 deletions
diff --git a/libavfilter/vf_field.c b/libavfilter/vf_field.c
index e6f8b73df6..312c86679b 100644
--- a/libavfilter/vf_field.c
+++ b/libavfilter/vf_field.c
@@ -44,7 +44,6 @@ static const AVOption field_options[] = {
{"type", "set field type (top or bottom)", OFFSET(type), AV_OPT_TYPE_INT, {.i64=FIELD_TYPE_TOP}, 0, 1, FLAGS, "field_type" },
{"top", "select top field", 0, AV_OPT_TYPE_CONST, {.i64=FIELD_TYPE_TOP}, INT_MIN, INT_MAX, FLAGS, "field_type"},
{"bottom", "select bottom field", 0, AV_OPT_TYPE_CONST, {.i64=FIELD_TYPE_BOTTOM}, INT_MIN, INT_MAX, FLAGS, "field_type"},
-
{NULL}
};
@@ -86,28 +85,27 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)
static const AVFilterPad field_inputs[] = {
{
- .name = "default",
- .type = AVMEDIA_TYPE_VIDEO,
- .filter_frame = filter_frame,
+ .name = "default",
+ .type = AVMEDIA_TYPE_VIDEO,
+ .filter_frame = filter_frame,
},
{ NULL }
};
static const AVFilterPad field_outputs[] = {
{
- .name = "default",
- .type = AVMEDIA_TYPE_VIDEO,
- .config_props = config_props_output,
+ .name = "default",
+ .type = AVMEDIA_TYPE_VIDEO,
+ .config_props = config_props_output,
},
{ NULL }
};
AVFilter avfilter_vf_field = {
- .name = "field",
- .description = NULL_IF_CONFIG_SMALL("Extract a field from the input video."),
-
- .priv_size = sizeof(FieldContext),
- .inputs = field_inputs,
- .outputs = field_outputs,
- .priv_class = &field_class,
+ .name = "field",
+ .description = NULL_IF_CONFIG_SMALL("Extract a field from the input video."),
+ .priv_size = sizeof(FieldContext),
+ .inputs = field_inputs,
+ .outputs = field_outputs,
+ .priv_class = &field_class,
};