Browse Source

avfilter/vf_lut: use AV_OPT_TYPE_BOOL for negate_alpha option

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.0
Paul B Mahol 10 years ago
parent
commit
af24763400
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_lut.c

+ 1
- 1
libavfilter/vf_lut.c View File

@@ -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