From 6cd079a4e7ce1805b7efa8a7c8cf03e9e9c46714 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 17 Mar 2015 17:13:38 +0100 Subject: [PATCH] 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 --- libavfilter/vf_histeq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[]