[FFmpeg-cvslog] avfilter/avf_avectorscope: Change enums to int, which are accessed via AVOption as int
Michael Niedermayer
git at videolan.org
Mon Mar 2 04:29:10 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Feb 2 23:08:46 2015 +0100| [27a5d09c6adc6e20e00e569a13a4b899c5ef935d] | committer: Michael Niedermayer
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 <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=27a5d09c6adc6e20e00e569a13a4b899c5ef935d
---
libavfilter/avf_avectorscope.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avf_avectorscope.c b/libavfilter/avf_avectorscope.c
index 1b5365a..3027de3 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;
More information about the ffmpeg-cvslog
mailing list