Commit fa7084a0 authored by Michael Niedermayer's avatar 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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 08880c1f
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment