lavfi/dctdnoiz: fix 10l typo in pr_height computation.
authorClément Bœsch <ubitux@gmail.com>
Wed, 15 May 2013 01:19:49 +0000 (03:19 +0200)
committerClément Bœsch <ubitux@gmail.com>
Wed, 15 May 2013 01:19:49 +0000 (03:19 +0200)
libavfilter/vf_dctdnoiz.c

index 0dea590..8de203c 100644 (file)
@@ -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);