1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lavfi/dctdnoiz: fix 10l typo in pr_height computation.

This commit is contained in:
Clément Bœsch 2013-05-15 03:19:49 +02:00
parent 1a36c756d8
commit bc1c90eabf

View 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);