Browse code

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 <michaelni@gmx.at>

Michael Niedermayer authored on 2015/03/09 04:59:51
Showing 1 changed files
... ...
@@ -60,7 +60,7 @@ enum preset {
60 60
 
61 61
 typedef struct {
62 62
     const AVClass *class;
63
-    enum preset preset;
63
+    int preset;
64 64
     char *comp_points_str[NB_COMP + 1];
65 65
     char *comp_points_str_all;
66 66
     uint8_t graph[NB_COMP + 1][256];