ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Tue Mar 17 
17:13:38 2015 +0100| [6cd079a4e7ce1805b7efa8a7c8cf03e9e9c46714] | committer: 
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: Michael Niedermayer <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6cd079a4e7ce1805b7efa8a7c8cf03e9e9c46714
---

 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 b0e9728..5e560cf 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[]

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to