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>
This commit is contained in:
Michael Niedermayer 2015-03-20 19:09:38 +01:00
parent e8446a6850
commit 59c06902e8

View File

@ -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];