avfilter/vf_signalstats: 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 3a23ec0daa
commit 74097e0902
  1. 2
      libavfilter/vf_signalstats.c

@ -40,7 +40,7 @@ typedef struct {
int vsub; // vertical subsampling
int fs; // pixel count per frame
int cfs; // pixel count per frame of chroma planes
enum FilterMode outfilter;
int outfilter; // FilterMode
int filters;
AVFrame *frame_prev;
uint8_t rgba_color[4];

Loading…
Cancel
Save