aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-09-09 08:56:51 +0000
committerPaul B Mahol <onemda@gmail.com>2015-09-09 10:01:10 +0000
commitaf24763400692d72e8b0e227dc4979ebb6ddc13f (patch)
tree4925eca0dd830d0ec6ed262cdd1ace9f73e15c54
parentda64bd6a992c5aa3b07d45412b34d26302e67c82 (diff)
downloadffmpeg-af24763400692d72e8b0e227dc4979ebb6ddc13f.tar.gz
avfilter/vf_lut: use AV_OPT_TYPE_BOOL for negate_alpha option
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavfilter/vf_lut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
index c81575aecf..7d708f615b 100644
--- a/libavfilter/vf_lut.c
+++ b/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 }
};