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_pad.c | |
parent | ba5e77814e5cb60d8476b831cdb6223cea98a7d4 (diff) |
avfilter: various cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_pad.c')
-rw-r--r-- | libavfilter/vf_pad.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c index 023ef7f863..45b32e662c 100644 --- a/libavfilter/vf_pad.c +++ b/libavfilter/vf_pad.c @@ -367,7 +367,7 @@ static const AVOption pad_options[] = { { "x", "set the x offset expression for the input image position", OFFSET(x_expr), AV_OPT_TYPE_STRING, {.str = "0"}, CHAR_MIN, CHAR_MAX, FLAGS }, { "y", "set the y offset expression for the input image position", OFFSET(y_expr), AV_OPT_TYPE_STRING, {.str = "0"}, CHAR_MIN, CHAR_MAX, FLAGS }, { "color", "set the color of the padded area border", OFFSET(rgba_color), AV_OPT_TYPE_COLOR, {.str = "black"}, .flags = FLAGS }, - { NULL }, + { NULL } }; AVFILTER_DEFINE_CLASS(pad); @@ -395,12 +395,9 @@ static const AVFilterPad avfilter_vf_pad_outputs[] = { AVFilter avfilter_vf_pad = { .name = "pad", .description = NULL_IF_CONFIG_SMALL("Pad input image to width:height[:x:y[:color]] (default x and y: 0, default color: black)."), - .priv_size = sizeof(PadContext), .priv_class = &pad_class, .query_formats = query_formats, - - .inputs = avfilter_vf_pad_inputs, - - .outputs = avfilter_vf_pad_outputs, + .inputs = avfilter_vf_pad_inputs, + .outputs = avfilter_vf_pad_outputs, }; |