Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-18 14:23:39 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-03-18 14:32:56 +0300
commit67e1562228599018abf32f6376ffbb26b3bba649 (patch)
tree6ae0844337aba4f389f4616c74e18b1980c352fe /libavfilter/vf_histogram.c
parent304fdfe9f3a3879ce95d01c4dcb7e33bdb68f9ef (diff)
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@gmx.at>
Diffstat (limited to 'libavfilter/vf_histogram.c')
-rw-r--r--libavfilter/vf_histogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_histogram.c b/libavfilter/vf_histogram.c
index 34656b5d23..40ec40096f 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;