avfilter/vsrc_mandelbrot: Change enums to int, which are accessed via AVOption as int
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 5 Apr 2015 13:44:59 +0000 (15:44 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 5 Apr 2015 13:44:59 +0000 (15:44 +0200)
This fixes depending on implementation defined behavior

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

index 05072e1..66b0798 100644 (file)
@@ -69,8 +69,8 @@ typedef struct {
     double end_scale;
     double end_pts;
     double bailout;
-    enum Outer outer;
-    enum Inner inner;
+    int outer;
+    int inner;
     int cache_allocated;
     int cache_used;
     Point *point_cache;