avfilter/vf_signalstats: Change enum to int, which is accessed via AVOption as int
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Mar 2015 16:31:34 +0000 (17:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Mar 2015 16:31:34 +0000 (17:31 +0100)
This fixes depending on implementation defined behavior

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

index 8632761..e89bd79 100644 (file)
@@ -40,7 +40,7 @@ typedef struct {
     int vsub;       // vertical subsampling
     int fs;         // pixel count per frame
     int cfs;        // pixel count per frame of chroma planes
-    enum FilterMode outfilter;
+    int outfilter;  // FilterMode
     int filters;
     AVFrame *frame_prev;
     uint8_t rgba_color[4];