summaryrefslogtreecommitdiff
path: root/libavfilter/vf_edgedetect.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-08 20:59:51 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-08 21:10:31 +0100
commitfa7084a065a984a11164d4f1154b97f6737f3948 (patch)
treec530345e02d0c49e238e1c3e419023fc7c4954ee /libavfilter/vf_edgedetect.c
parent08880c1f71c393aee55d1a7328ab12f3d4cdc91c (diff)
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@gmx.at>
Diffstat (limited to 'libavfilter/vf_edgedetect.c')
-rw-r--r--libavfilter/vf_edgedetect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_edgedetect.c b/libavfilter/vf_edgedetect.c
index a4e8d18e5a..1fb66bccfc 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)