avfilter/vf_histeq: Change enums to int, which are 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 7363889771
commit 6cd079a4e7
  1. 2
      libavfilter/vf_histeq.c

@ -57,7 +57,7 @@ typedef struct {
const AVClass *class;
float strength;
float intensity;
enum HisteqAntibanding antibanding;
int antibanding; ///< HisteqAntibanding
int in_histogram [256]; ///< input histogram
int out_histogram[256]; ///< output histogram
int LUT[256]; ///< lookup table derived from histogram[]

Loading…
Cancel
Save