[FFmpeg-cvslog] avfilter/vf_histogram: Change enum to int, which is accessed via AVOption as int
Michael Niedermayer
git at videolan.org
Wed Mar 18 12:44:16 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Mar 18 12:23:39 2015 +0100| [67e1562228599018abf32f6376ffbb26b3bba649] | committer: Michael Niedermayer
avfilter/vf_histogram: Change enum to int, which is accessed via AVOption as int
This fixes depending on implementation defined behavior
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=67e1562228599018abf32f6376ffbb26b3bba649
---
libavfilter/vf_histogram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_histogram.c b/libavfilter/vf_histogram.c
index 34656b5..40ec400 100644
--- a/libavfilter/vf_histogram.c
+++ b/libavfilter/vf_histogram.c
@@ -37,7 +37,7 @@ enum HistogramMode {
typedef struct HistogramContext {
const AVClass *class; ///< AVClass context for log and options purpose
- enum HistogramMode mode;
+ int mode; ///< HistogramMode
unsigned histogram[256];
int ncomp;
const uint8_t *bg_color;
More information about the ffmpeg-cvslog
mailing list