From ee17295d10aa1c3ea7356d8b91a27bfd870c1268 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 18 Mar 2015 12:25:18 +0100 Subject: [PATCH] avfilter/vf_il: Change enums to int, which are accessed via AVOption as int This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer --- libavfilter/vf_il.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c index 550fde1af5..2501ef8351 100644 --- a/libavfilter/vf_il.c +++ b/libavfilter/vf_il.c @@ -38,7 +38,7 @@ enum FilterMode { typedef struct { const AVClass *class; - enum FilterMode luma_mode, chroma_mode, alpha_mode; + int luma_mode, chroma_mode, alpha_mode; ///