[FFmpeg-cvslog] avfilter/vf_edgedetect: Change enums to int, which are accessed via AVOption as int

Michael Niedermayer git at videolan.org
Sun Mar 8 21:22:05 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Mar  8 20:59:51 2015 +0100| [fa7084a065a984a11164d4f1154b97f6737f3948] | committer: Michael Niedermayer

avfilter/vf_edgedetect: 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=fa7084a065a984a11164d4f1154b97f6737f3948
---

 libavfilter/vf_edgedetect.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_edgedetect.c b/libavfilter/vf_edgedetect.c
index a4e8d18..1fb66bc 100644
--- a/libavfilter/vf_edgedetect.c
+++ b/libavfilter/vf_edgedetect.c
@@ -50,7 +50,7 @@ typedef struct {
     int nb_planes;
     double   low, high;
     uint8_t  low_u8, high_u8;
-    enum FilterMode mode;
+    int mode;
 } EdgeDetectContext;
 
 #define OFFSET(x) offsetof(EdgeDetectContext, x)



More information about the ffmpeg-cvslog mailing list