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>
This commit is contained in:
Michael Niedermayer 2015-03-17 17:13:38 +01:00
parent 7363889771
commit 6cd079a4e7

View File

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