mirror of https://git.ffmpeg.org/ffmpeg.git
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
|
@ -33,7 +33,7 @@ enum FieldType { FIELD_TYPE_TOP = 0, FIELD_TYPE_BOTTOM };
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const AVClass *class;
|
const AVClass *class;
|
||||||
enum FieldType type;
|
int type; ///< FieldType
|
||||||
int nb_planes; ///< number of planes of the current format
|
int nb_planes; ///< number of planes of the current format
|
||||||
} FieldContext;
|
} FieldContext;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue