summaryrefslogtreecommitdiff
path: root/libavfilter/vf_phase.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-20 19:09:38 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-20 19:09:38 +0100
commit59c06902e838beb26d12fbd4330150d0b0edbf15 (patch)
tree6800fc80edd358f0ecd2f2a87e829026ab8408fe /libavfilter/vf_phase.c
parente8446a685077b071361cc997116c315c68ef8da3 (diff)
avfilter/vf_phase: 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_phase.c')
-rw-r--r--libavfilter/vf_phase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_phase.c b/libavfilter/vf_phase.c
index 23b339c880..1818355ac2 100644
--- a/libavfilter/vf_phase.c
+++ b/libavfilter/vf_phase.c
@@ -41,7 +41,7 @@ enum PhaseMode {
typedef struct PhaseContext {
const AVClass *class;
- enum PhaseMode mode;
+ int mode; ///<PhaseMode
AVFrame *frame; /* previous frame */
int nb_planes;
int planeheight[4];