summaryrefslogtreecommitdiff
path: root/libavfilter/vf_il.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-18 12:25:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-18 12:32:56 +0100
commitee17295d10aa1c3ea7356d8b91a27bfd870c1268 (patch)
treeb99c1f1546bebfd0456dc0f328dc94011e1e3b1e /libavfilter/vf_il.c
parent67e1562228599018abf32f6376ffbb26b3bba649 (diff)
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 <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_il.c')
-rw-r--r--libavfilter/vf_il.c2
1 files changed, 1 insertions, 1 deletions
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; ///<FilterMode
int luma_swap, chroma_swap, alpha_swap;
int nb_planes;
int linesize[4], chroma_height;