diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-03-08 20:59:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-08 21:10:31 +0100 |
commit | fa7084a065a984a11164d4f1154b97f6737f3948 (patch) | |
tree | c530345e02d0c49e238e1c3e419023fc7c4954ee | |
parent | 08880c1f71c393aee55d1a7328ab12f3d4cdc91c (diff) | |
download | ffmpeg-fa7084a065a984a11164d4f1154b97f6737f3948.tar.gz |
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>
-rw-r--r-- | libavfilter/vf_edgedetect.c | 2 |
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) |