From 27a5d09c6adc6e20e00e569a13a4b899c5ef935d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 2 Feb 2015 23:08:46 +0100 Subject: avfilter/avf_avectorscope: Change enums to int, which are accessed via AVOption as int This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer --- libavfilter/avf_avectorscope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter') diff --git a/libavfilter/avf_avectorscope.c b/libavfilter/avf_avectorscope.c index 1b5365a09f..3027de37fc 100644 --- a/libavfilter/avf_avectorscope.c +++ b/libavfilter/avf_avectorscope.c @@ -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; -- cgit v1.2.3