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_fps.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_fps.c')
-rw-r--r-- | libavfilter/vf_fps.c | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index 06ebdfadce..f523088b02 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -70,7 +70,7 @@ static const AVOption fps_options[] = { { "down", "round towards -infty", OFFSET(rounding), AV_OPT_TYPE_CONST, { .i64 = AV_ROUND_DOWN }, 0, 5, V|F, "round" }, { "up", "round towards +infty", OFFSET(rounding), AV_OPT_TYPE_CONST, { .i64 = AV_ROUND_UP }, 0, 5, V|F, "round" }, { "near", "round to nearest", OFFSET(rounding), AV_OPT_TYPE_CONST, { .i64 = AV_ROUND_NEAR_INF }, 0, 5, V|F, "round" }, - { NULL }, + { NULL } }; AVFILTER_DEFINE_CLASS(fps); @@ -273,8 +273,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf) static const AVFilterPad avfilter_vf_fps_inputs[] = { { - .name = "default", - .type = AVMEDIA_TYPE_VIDEO, + .name = "default", + .type = AVMEDIA_TYPE_VIDEO, .filter_frame = filter_frame, }, { NULL } @@ -293,13 +293,10 @@ static const AVFilterPad avfilter_vf_fps_outputs[] = { AVFilter avfilter_vf_fps = { .name = "fps", .description = NULL_IF_CONFIG_SMALL("Force constant framerate."), - - .init = init, - .uninit = uninit, - - .priv_size = sizeof(FPSContext), - .priv_class = &fps_class, - - .inputs = avfilter_vf_fps_inputs, - .outputs = avfilter_vf_fps_outputs, + .init = init, + .uninit = uninit, + .priv_size = sizeof(FPSContext), + .priv_class = &fps_class, + .inputs = avfilter_vf_fps_inputs, + .outputs = avfilter_vf_fps_outputs, }; |