Browse code

avfilter/vf_histeq: Change enums to int, which are accessed via AVOption as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2015/03/18 01:13:38
Showing 1 changed files
... ...
@@ -57,7 +57,7 @@ typedef struct {
57 57
     const AVClass *class;
58 58
     float strength;
59 59
     float intensity;
60
-    enum HisteqAntibanding antibanding;
60
+    int antibanding;               ///< HisteqAntibanding
61 61
     int in_histogram [256];        ///< input histogram
62 62
     int out_histogram[256];        ///< output histogram
63 63
     int LUT[256];                  ///< lookup table derived from histogram[]