1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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>
This commit is contained in:
Michael Niedermayer 2015-03-08 20:59:51 +01:00
parent ee7b5d4ef8
commit 08880c1f71

View File

@ -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];