diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-09-07 12:13:50 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-09-12 14:01:43 +0000 |
commit | b211607b5c97b9f0c30764c0abacc90abd9a4cc2 (patch) | |
tree | fe3da9fa93ad64df397efb2f6b8da74a617e39ab /libavfilter/vf_blackframe.c | |
parent | ba5e77814e5cb60d8476b831cdb6223cea98a7d4 (diff) | |
download | ffmpeg-b211607b5c97b9f0c30764c0abacc90abd9a4cc2.tar.gz |
avfilter: various cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_blackframe.c')
-rw-r--r-- | libavfilter/vf_blackframe.c | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/libavfilter/vf_blackframe.c b/libavfilter/vf_blackframe.c index 34fc3f1c7d..eb49346370 100644 --- a/libavfilter/vf_blackframe.c +++ b/libavfilter/vf_blackframe.c @@ -98,16 +98,16 @@ static const AVOption blackframe_options[] = { OFFSET(bthresh), AV_OPT_TYPE_INT, { .i64 = 32 }, 0, 255, FLAGS }, { "thresh", "threshold below which a pixel value is considered black", OFFSET(bthresh), AV_OPT_TYPE_INT, { .i64 = 32 }, 0, 255, FLAGS }, - { NULL }, + { NULL } }; AVFILTER_DEFINE_CLASS(blackframe); static const AVFilterPad avfilter_vf_blackframe_inputs[] = { { - .name = "default", - .type = AVMEDIA_TYPE_VIDEO, - .filter_frame = filter_frame, + .name = "default", + .type = AVMEDIA_TYPE_VIDEO, + .filter_frame = filter_frame, }, { NULL } }; @@ -121,15 +121,11 @@ static const AVFilterPad avfilter_vf_blackframe_outputs[] = { }; AVFilter avfilter_vf_blackframe = { - .name = "blackframe", - .description = NULL_IF_CONFIG_SMALL("Detect frames that are (almost) black."), - - .priv_size = sizeof(BlackFrameContext), - .priv_class = &blackframe_class, - + .name = "blackframe", + .description = NULL_IF_CONFIG_SMALL("Detect frames that are (almost) black."), + .priv_size = sizeof(BlackFrameContext), + .priv_class = &blackframe_class, .query_formats = query_formats, - - .inputs = avfilter_vf_blackframe_inputs, - - .outputs = avfilter_vf_blackframe_outputs, + .inputs = avfilter_vf_blackframe_inputs, + .outputs = avfilter_vf_blackframe_outputs, }; |