avfilter/vf_setfield: Change enum to int, which is 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:
parent
14bc7aaa86
commit
3a23ec0daa
@ -37,7 +37,7 @@ enum SetFieldMode {
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const AVClass *class;
|
const AVClass *class;
|
||||||
enum SetFieldMode mode;
|
int mode; ///< SetFieldMode
|
||||||
} SetFieldContext;
|
} SetFieldContext;
|
||||||
|
|
||||||
#define OFFSET(x) offsetof(SetFieldContext, x)
|
#define OFFSET(x) offsetof(SetFieldContext, x)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user