avfilter/vf_field: 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
39ddda12f1
commit
e6140e7822
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue