aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-08 20:59:51 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-08 21:10:31 +0100
commit08880c1f71c393aee55d1a7328ab12f3d4cdc91c (patch)
treee5897420069ba7937dddfdc003d21ef0fc9114df
parentee7b5d4ef84d1bdc557483a89d5be8c06bfa9a7f (diff)
downloadffmpeg-08880c1f71c393aee55d1a7328ab12f3d4cdc91c.tar.gz
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>
-rw-r--r--libavfilter/vf_curves.c2
1 files changed, 1 insertions, 1 deletions
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];