Commit 59c06902 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_phase: Change enum to int, which is accessed via AVOption as int

This fixes depending on implementation defined behavior
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e8446a68
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment