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_libopencv.c | |
parent | ba5e77814e5cb60d8476b831cdb6223cea98a7d4 (diff) | |
download | ffmpeg-streaming-b211607b5c97b9f0c30764c0abacc90abd9a4cc2.zip ffmpeg-streaming-b211607b5c97b9f0c30764c0abacc90abd9a4cc2.tar.gz |
avfilter: various cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_libopencv.c')
-rw-r--r-- | libavfilter/vf_libopencv.c | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c index fe114b3..a22f3d3 100644 --- a/libavfilter/vf_libopencv.c +++ b/libavfilter/vf_libopencv.c @@ -381,15 +381,15 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) static const AVOption ocv_options[] = { { "filter_name", NULL, OFFSET(name), AV_OPT_TYPE_STRING, .flags = FLAGS }, { "filter_params", NULL, OFFSET(params), AV_OPT_TYPE_STRING, .flags = FLAGS }, - { NULL }, + { NULL } }; AVFILTER_DEFINE_CLASS(ocv); static const AVFilterPad avfilter_vf_ocv_inputs[] = { { - .name = "default", - .type = AVMEDIA_TYPE_VIDEO, + .name = "default", + .type = AVMEDIA_TYPE_VIDEO, .filter_frame = filter_frame, }, { NULL } @@ -404,17 +404,13 @@ static const AVFilterPad avfilter_vf_ocv_outputs[] = { }; AVFilter avfilter_vf_ocv = { - .name = "ocv", - .description = NULL_IF_CONFIG_SMALL("Apply transform using libopencv."), - - .priv_size = sizeof(OCVContext), - .priv_class = &ocv_class, - + .name = "ocv", + .description = NULL_IF_CONFIG_SMALL("Apply transform using libopencv."), + .priv_size = sizeof(OCVContext), + .priv_class = &ocv_class, .query_formats = query_formats, - .init = init, - .uninit = uninit, - - .inputs = avfilter_vf_ocv_inputs, - - .outputs = avfilter_vf_ocv_outputs, + .init = init, + .uninit = uninit, + .inputs = avfilter_vf_ocv_inputs, + .outputs = avfilter_vf_ocv_outputs, }; |