diff options
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avf_ahistogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_ahistogram.c b/libavfilter/avf_ahistogram.c index a716a96..ff94ad4 100644 --- a/libavfilter/avf_ahistogram.c +++ b/libavfilter/avf_ahistogram.c @@ -165,7 +165,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) const int H = s->histogram_h; const int w = s->w; int c, y, n, p, bin; - uint64_t acmax = 0; + uint64_t acmax = 1; if (!s->out || s->out->width != outlink->w || s->out->height != outlink->h) { |