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>
pull/125/head
Michael Niedermayer 10 years ago
parent e8446a6850
commit 59c06902e8
  1. 2
      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];

Loading…
Cancel
Save