Browse Source

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>
tags/n2.7
Michael Niedermayer 11 years ago
parent
commit
08880c1f71
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_curves.c

+ 1
- 1
libavfilter/vf_curves.c 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];


Loading…
Cancel
Save