avfilter/vf_fieldmatch: 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-17 17:11:42 +01:00
parent e6140e7822
commit 7363889771
1 changed files with 2 additions and 2 deletions

View File

@ -86,13 +86,13 @@ typedef struct {
/* options */ /* options */
int order; int order;
int ppsrc; int ppsrc;
enum matching_mode mode; int mode; ///< matching_mode
int field; int field;
int mchroma; int mchroma;
int y0, y1; int y0, y1;
int64_t scthresh; int64_t scthresh;
double scthresh_flt; double scthresh_flt;
enum comb_matching_mode combmatch; int combmatch; ///< comb_matching_mode
int combdbg; int combdbg;
int cthresh; int cthresh;
int chroma; int chroma;