summaryrefslogtreecommitdiff
path: root/libavfilter/vf_histeq.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-17 17:13:38 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-17 17:13:38 +0100
commit6cd079a4e7ce1805b7efa8a7c8cf03e9e9c46714 (patch)
treeae781b1b4a26986165582f190cce0b03ca7b91dd /libavfilter/vf_histeq.c
parent7363889771897bda7bfe424c52c1faba127bdb7b (diff)
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>
Diffstat (limited to 'libavfilter/vf_histeq.c')
-rw-r--r--libavfilter/vf_histeq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_histeq.c b/libavfilter/vf_histeq.c
index b0e9728cc1..5e560cff17 100644
--- a/libavfilter/vf_histeq.c
+++ b/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[]