ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sat Oct 23 16:59:38 2021 +0200| [a586ce0a21a29503e318479aa965fdb3eb5d98f7] | committer: Paul B Mahol
avfilter/vf_dblur: fix artifacts > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a586ce0a21a29503e318479aa965fdb3eb5d98f7 --- libavfilter/vf_dblur.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_dblur.c b/libavfilter/vf_dblur.c index 8ea1229629..48c21c81b6 100644 --- a/libavfilter/vf_dblur.c +++ b/libavfilter/vf_dblur.c @@ -68,7 +68,7 @@ static int filter_horizontally(AVFilterContext *ctx, int width, int height) if (s->R3 > 0) { for (int y = 1; y < height - 1; y++) { - g = q * f(0, 0) + c * f(0, 0); + g = q * f(y, 0) + c * f(y, 0); for (int x = 0; x < width; x++) { f(y, x) = b0 * f(y, x) + b1 * f(y - 1, x) + g; g = q * f(y, x) + c * f(y - 1, x); @@ -84,7 +84,7 @@ static int filter_horizontally(AVFilterContext *ctx, int width, int height) } } else { for (int y = 1; y < height - 1; y++) { - g = q * f(0, width - 1) + c * f(0, width - 1); + g = q * f(y, width - 1) + c * f(y, width - 1); for (int x = width - 1; x >= 0; x--) { f(y, x) = b0 * f(y, x) + b1 * f(y - 1, x) + g; g = q * f(y, x) + c * f(y - 1, x); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".