From af24763400692d72e8b0e227dc4979ebb6ddc13f Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 9 Sep 2015 08:56:51 +0000 Subject: avfilter/vf_lut: use AV_OPT_TYPE_BOOL for negate_alpha option Signed-off-by: Paul B Mahol --- libavfilter/vf_lut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }; -- cgit v1.2.3