Commit 3a23ec0d authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_setfield: Change enum to int, which is accessed via AVOption as int

This fixes depending on implementation defined behavior
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 14bc7aaa
......@@ -37,7 +37,7 @@ enum SetFieldMode {
typedef struct {
const AVClass *class;
enum SetFieldMode mode;
int mode; ///< SetFieldMode
} SetFieldContext;
#define OFFSET(x) offsetof(SetFieldContext, 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