From 74097e09023c2ebea3570dbc7a21ea493fdd7ebe Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 22 Mar 2015 17:31:34 +0100 Subject: avfilter/vf_signalstats: Change enum to int, which is accessed via AVOption as int This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer --- libavfilter/vf_signalstats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_signalstats.c b/libavfilter/vf_signalstats.c index 8632761cc3..e89bd79bef 100644 --- a/libavfilter/vf_signalstats.c +++ b/libavfilter/vf_signalstats.c @@ -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]; -- cgit v1.2.3