Commit 73638897 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_fieldmatch: 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 e6140e78
......@@ -86,13 +86,13 @@ typedef struct {
/* options */
int order;
int ppsrc;
enum matching_mode mode;
int mode; ///< matching_mode
int field;
int mchroma;
int y0, y1;
int64_t scthresh;
double scthresh_flt;
enum comb_matching_mode combmatch;
int combmatch; ///< comb_matching_mode
int combdbg;
int cthresh;
int chroma;
......
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