From bc1c90eabfa4815c25a258f64ba3283f79b0c50d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <ubitux@gmail.com>
Date: Wed, 15 May 2013 03:19:49 +0200
Subject: [PATCH] lavfi/dctdnoiz: fix 10l typo in pr_height computation.

---
 libavfilter/vf_dctdnoiz.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_dctdnoiz.c b/libavfilter/vf_dctdnoiz.c
index 0dea590e939..8de203c0424 100644
--- a/libavfilter/vf_dctdnoiz.c
+++ b/libavfilter/vf_dctdnoiz.c
@@ -147,7 +147,7 @@ static int config_input(AVFilterLink *inlink)
             s->color_dct[y][x] = dct_3x3[rgba_map[y]][rgba_map[x]];
 
     s->pr_width  = inlink->w - (inlink->w - BSIZE) % s->step;
-    s->pr_height = inlink->w - (inlink->h - BSIZE) % s->step;
+    s->pr_height = inlink->h - (inlink->h - BSIZE) % s->step;
     if (s->pr_width != inlink->w)
         av_log(ctx, AV_LOG_WARNING, "The last %d horizontal pixels won't be denoised\n",
                inlink->w - s->pr_width);
-- 
GitLab