[FFmpeg-cvslog] lavfi/negate: unbreak negate alpha

Paul B Mahol git at videolan.org
Sat Apr 27 01:46:43 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Apr 26 23:45:24 2013 +0000| [785eb5fc57e006543254d35f5d699eff57a4f681] | committer: Paul B Mahol

lavfi/negate: unbreak negate alpha

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=785eb5fc57e006543254d35f5d699eff57a4f681
---

 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 4313e77..010f58a 100644
--- a/libavfilter/vf_lut.c
+++ b/libavfilter/vf_lut.c
@@ -403,7 +403,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 }, .flags = FLAGS },
+    { "negate_alpha", NULL, OFFSET(negate_alpha), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS },
     { NULL },
 };
 



More information about the ffmpeg-cvslog mailing list