Commit 67e15622 authored by Michael Niedermayer's avatar 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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 304fdfe9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment