avfilter/avf_avectorscope: Change enums to int, which are accessed via AVOption as int
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Feb 2015 22:08:46 +0000 (23:08 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Mar 2015 03:08:18 +0000 (04:08 +0100)
This fixes depending on implementation defined behavior

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

index 1b5365a..3027de3 100644 (file)
@@ -44,7 +44,7 @@ typedef struct AudioVectorScopeContext {
     AVFrame *outpicref;
     int w, h;
     int hw, hh;
-    enum VectorScopeMode mode;
+    int mode;
     int contrast[3];
     int fade[3];
     double zoom;