From 08880c1f71c393aee55d1a7328ab12f3d4cdc91c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 Mar 2015 20:59:51 +0100 Subject: avfilter/vf_curves: 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_curves.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter') diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c index b17c391fff..29b469f1f5 100644 --- a/libavfilter/vf_curves.c +++ b/libavfilter/vf_curves.c @@ -60,7 +60,7 @@ enum preset { typedef struct { const AVClass *class; - enum preset preset; + int preset; char *comp_points_str[NB_COMP + 1]; char *comp_points_str_all; uint8_t graph[NB_COMP + 1][256]; -- cgit v1.2.3