diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-03-17 18:52:10 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-17 18:52:10 +0300 |
commit | e6140e7822703f0cb5f744ee77a71580a650db7b (patch) | |
tree | cbd310e7c326df6bd121a1cab130498fbd58f82b /libavfilter/vf_field.c | |
parent | 39ddda12f17c666bb08abb2493d4adf8835b22c9 (diff) |
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>
Diffstat (limited to 'libavfilter/vf_field.c')
-rw-r--r-- | libavfilter/vf_field.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_field.c b/libavfilter/vf_field.c index ed123792b4..72cabdb929 100644 --- a/libavfilter/vf_field.c +++ b/libavfilter/vf_field.c @@ -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; |