diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-03-18 12:23:39 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-18 12:32:56 +0100 |
commit | 67e1562228599018abf32f6376ffbb26b3bba649 (patch) | |
tree | 6ae0844337aba4f389f4616c74e18b1980c352fe /libavfilter | |
parent | 304fdfe9f3a3879ce95d01c4dcb7e33bdb68f9ef (diff) | |
download | ffmpeg-streaming-67e1562228599018abf32f6376ffbb26b3bba649.zip ffmpeg-streaming-67e1562228599018abf32f6376ffbb26b3bba649.tar.gz |
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')
-rw-r--r-- | libavfilter/vf_histogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |