avfilter/vf_lut: use AV_OPT_TYPE_BOOL for negate_alpha option

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/148/head
Paul B Mahol 10 years ago
parent da64bd6a99
commit af24763400
  1. 2
      libavfilter/vf_lut.c

@ -503,7 +503,7 @@ DEFINE_LUT_FILTER(lutrgb, "Compute and apply a lookup table to the RGB input vid
#if CONFIG_NEGATE_FILTER
static const AVOption negate_options[] = {
{ "negate_alpha", NULL, OFFSET(negate_alpha), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS },
{ "negate_alpha", NULL, OFFSET(negate_alpha), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS },
{ NULL }
};

Loading…
Cancel
Save