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/trim.c | |
parent | ba5e77814e5cb60d8476b831cdb6223cea98a7d4 (diff) |
avfilter: various cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/trim.c')
-rw-r--r-- | libavfilter/trim.c | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/libavfilter/trim.c b/libavfilter/trim.c index e9f2b20429..9864c1fa62 100644 --- a/libavfilter/trim.c +++ b/libavfilter/trim.c @@ -202,7 +202,7 @@ static const AVOption trim_options[] = { { "end_frame", "Number of the first frame that should be dropped " "again", OFFSET(end_frame), AV_OPT_TYPE_INT64, { .i64 = INT64_MAX }, 0, INT64_MAX, FLAGS }, COMPAT_OPTS - { NULL }, + { NULL } }; #undef FLAGS @@ -220,9 +220,9 @@ static const AVFilterPad trim_inputs[] = { static const AVFilterPad trim_outputs[] = { { - .name = "default", - .type = AVMEDIA_TYPE_VIDEO, - .config_props = config_output, + .name = "default", + .type = AVMEDIA_TYPE_VIDEO, + .config_props = config_output, }, { NULL } }; @@ -230,12 +230,9 @@ static const AVFilterPad trim_outputs[] = { AVFilter avfilter_vf_trim = { .name = "trim", .description = NULL_IF_CONFIG_SMALL("Pick one continuous section from the input, drop the rest."), - .init = init, - .priv_size = sizeof(TrimContext), .priv_class = &trim_class, - .inputs = trim_inputs, .outputs = trim_outputs, }; @@ -360,7 +357,7 @@ static const AVOption atrim_options[] = { { "end_sample", "Number of the first audio sample that should be " "dropped again", OFFSET(end_sample), AV_OPT_TYPE_INT64, { .i64 = INT64_MAX }, 0, INT64_MAX, FLAGS }, COMPAT_OPTS - { NULL }, + { NULL } }; #undef FLAGS @@ -378,9 +375,9 @@ static const AVFilterPad atrim_inputs[] = { static const AVFilterPad atrim_outputs[] = { { - .name = "default", - .type = AVMEDIA_TYPE_AUDIO, - .config_props = config_output, + .name = "default", + .type = AVMEDIA_TYPE_AUDIO, + .config_props = config_output, }, { NULL } }; @@ -388,12 +385,9 @@ static const AVFilterPad atrim_outputs[] = { AVFilter avfilter_af_atrim = { .name = "atrim", .description = NULL_IF_CONFIG_SMALL("Pick one continuous section from the input, drop the rest."), - .init = init, - .priv_size = sizeof(TrimContext), .priv_class = &atrim_class, - .inputs = atrim_inputs, .outputs = atrim_outputs, }; |