Commit e6140e78 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_field: 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 39ddda12
......@@ -33,7 +33,7 @@ enum FieldType { FIELD_TYPE_TOP = 0, FIELD_TYPE_BOTTOM };
typedef struct {
const AVClass *class;
enum FieldType type;
int type; ///< FieldType
int nb_planes; ///< number of planes of the current format
} FieldContext;
......
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