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:
@@ -57,7 +57,7 @@ typedef struct {
|
|||||||
const AVClass *class;
|
const AVClass *class;
|
||||||
float strength;
|
float strength;
|
||||||
float intensity;
|
float intensity;
|
||||||
enum HisteqAntibanding antibanding;
|
int antibanding; ///< HisteqAntibanding
|
||||||
int in_histogram [256]; ///< input histogram
|
int in_histogram [256]; ///< input histogram
|
||||||
int out_histogram[256]; ///< output histogram
|
int out_histogram[256]; ///< output histogram
|
||||||
int LUT[256]; ///< lookup table derived from histogram[]
|
int LUT[256]; ///< lookup table derived from histogram[]
|
||||||
|
Reference in New Issue
Block a user