summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_field.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-17 16:52:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-17 16:52:10 +0100
commite6140e7822703f0cb5f744ee77a71580a650db7b (patch)
treecbd310e7c326df6bd121a1cab130498fbd58f82b /libavfilter/vf_field.c
parent39ddda12f17c666bb08abb2493d4adf8835b22c9 (diff)
downloadffmpeg-streaming-e6140e7822703f0cb5f744ee77a71580a650db7b.zip
ffmpeg-streaming-e6140e7822703f0cb5f744ee77a71580a650db7b.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_field.c b/libavfilter/vf_field.c
index ed12379..72cabdb 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;
OpenPOWER on IntegriCloud