avfilter/vf_fieldmatch: Change enums to int, which are accessed via AVOption as int
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Mar 2015 16:11:42 +0000 (17:11 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Mar 2015 16:11:42 +0000 (17:11 +0100)
This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_fieldmatch.c

index 96cb1a4..c01af66 100644 (file)
@@ -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;