aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-22 17:23:38 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-22 17:30:24 +0100
commit3a23ec0daa28583f18bd63c1416e6a09afea9812 (patch)
tree2bf555870e8a460e5594796609c19d8c924d9b1e /libavfilter
parent14bc7aaa860e4d71f4966d4679b3fab547f5e0af (diff)
downloadffmpeg-3a23ec0daa28583f18bd63c1416e6a09afea9812.tar.gz
avfilter/vf_setfield: 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')
-rw-r--r--libavfilter/vf_setfield.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_setfield.c b/libavfilter/vf_setfield.c
index eb4df74943..96e9d18bd3 100644
--- a/libavfilter/vf_setfield.c
+++ b/libavfilter/vf_setfield.c
@@ -37,7 +37,7 @@ enum SetFieldMode {
typedef struct {
const AVClass *class;
- enum SetFieldMode mode;
+ int mode; ///< SetFieldMode
} SetFieldContext;
#define OFFSET(x) offsetof(SetFieldContext, x)