[FFmpeg-cvslog] avfilter/vf_fieldmatch: Change enums to int, which are accessed via AVOption as int

Michael Niedermayer git at videolan.org
Tue Mar 17 17:26:08 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 17 17:11:42 2015 +0100| [7363889771897bda7bfe424c52c1faba127bdb7b] | committer: 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: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7363889771897bda7bfe424c52c1faba127bdb7b
---

 libavfilter/vf_fieldmatch.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_fieldmatch.c b/libavfilter/vf_fieldmatch.c
index 96cb1a4..c01af66 100644
--- a/libavfilter/vf_fieldmatch.c
+++ b/libavfilter/vf_fieldmatch.c
@@ -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;



More information about the ffmpeg-cvslog mailing list