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_psnr.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_psnr.c')
-rw-r--r-- | libavfilter/vf_psnr.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c index 4bb9ae7543..3744579d71 100644 --- a/libavfilter/vf_psnr.c +++ b/libavfilter/vf_psnr.c @@ -61,7 +61,7 @@ typedef struct PSNRContext { static const AVOption psnr_options[] = { {"stats_file", "Set file where to store per-frame difference information", OFFSET(stats_file_str), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, {"f", "Set file where to store per-frame difference information", OFFSET(stats_file_str), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, - { NULL }, + { NULL } }; AVFILTER_DEFINE_CLASS(psnr); @@ -351,14 +351,14 @@ static av_cold void uninit(AVFilterContext *ctx) static const AVFilterPad psnr_inputs[] = { { - .name = "main", - .type = AVMEDIA_TYPE_VIDEO, - .filter_frame = filter_frame_main, + .name = "main", + .type = AVMEDIA_TYPE_VIDEO, + .filter_frame = filter_frame_main, },{ - .name = "reference", - .type = AVMEDIA_TYPE_VIDEO, - .filter_frame = filter_frame_ref, - .config_props = config_input_ref, + .name = "reference", + .type = AVMEDIA_TYPE_VIDEO, + .filter_frame = filter_frame_ref, + .config_props = config_input_ref, }, { NULL } }; @@ -374,13 +374,13 @@ static const AVFilterPad psnr_outputs[] = { }; AVFilter avfilter_vf_psnr = { - .name = "psnr", - .description = NULL_IF_CONFIG_SMALL("Calculate the PSNR between two video streams."), - .init = init, - .uninit = uninit, - .query_formats = query_formats, - .priv_size = sizeof(PSNRContext), - .priv_class = &psnr_class, - .inputs = psnr_inputs, - .outputs = psnr_outputs, + .name = "psnr", + .description = NULL_IF_CONFIG_SMALL("Calculate the PSNR between two video streams."), + .init = init, + .uninit = uninit, + .query_formats = query_formats, + .priv_size = sizeof(PSNRContext), + .priv_class = &psnr_class, + .inputs = psnr_inputs, + .outputs = psnr_outputs, }; |