Commit 08880c1f authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_curves: Change enums to int, which are accessed via AVOption as int

This fixes depending on implementation defined behavior
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ee7b5d4e
...@@ -60,7 +60,7 @@ enum preset { ...@@ -60,7 +60,7 @@ enum preset {
typedef struct { typedef struct {
const AVClass *class; const AVClass *class;
enum preset preset; int preset;
char *comp_points_str[NB_COMP + 1]; char *comp_points_str[NB_COMP + 1];
char *comp_points_str_all; char *comp_points_str_all;
uint8_t graph[NB_COMP + 1][256]; uint8_t graph[NB_COMP + 1][256];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment