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_decimate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_decimate.c') diff --git a/libavfilter/vf_decimate.c b/libavfilter/vf_decimate.c index 70357ea..d352665 100644 --- a/libavfilter/vf_decimate.c +++ b/libavfilter/vf_decimate.c @@ -239,7 +239,7 @@ static int config_input(AVFilterLink *inlink) dm->hsub = pix_desc->log2_chroma_w; dm->vsub = pix_desc->log2_chroma_h; - dm->depth = pix_desc->comp[0].depth_minus1 + 1; + dm->depth = pix_desc->comp[0].depth; max_value = (1 << dm->depth) - 1; dm->scthresh = (int64_t)(((int64_t)max_value * w * h * dm->scthresh_flt) / 100); dm->dupthresh = (int64_t)(((int64_t)max_value * dm->blockx * dm->blocky * dm->dupthresh_flt) / 100); -- cgit v1.1