From 5d8e836d0ec3bcaabf5bc2020210a1bc61975922 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Tue, 8 Sep 2015 17:10:48 +0200 Subject: Replace all remaining occurances of step/depth_minus1 and offset_plus1 --- libavfilter/vf_cropdetect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_cropdetect.c') diff --git a/libavfilter/vf_cropdetect.c b/libavfilter/vf_cropdetect.c index 7fa965160f..d45637777f 100644 --- a/libavfilter/vf_cropdetect.c +++ b/libavfilter/vf_cropdetect.c @@ -144,7 +144,7 @@ static int config_input(AVFilterLink *inlink) av_image_fill_max_pixsteps(s->max_pixsteps, NULL, desc); if (s->limit < 1.0) - s->limit *= (1 << (desc->comp[0].depth_minus1 + 1)) - 1; + s->limit *= (1 << desc->comp[0].depth) - 1; s->x1 = inlink->w - 1; s->y1 = inlink->h - 1; -- cgit v1.2.3