Commit 6cd079a4 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_histeq: Change enums to int, which are accessed via AVOption as int

This fixes depending on implementation defined behavior
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 73638897
...@@ -57,7 +57,7 @@ typedef struct { ...@@ -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[]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment