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:
Michael Niedermayer 2015-03-17 16:52:10 +01:00
parent 39ddda12f1
commit e6140e7822
1 changed files with 1 additions and 1 deletions

View File

@ -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;