You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user