From d597c9a860a562314dcd0d6101f3b64b9a7732a5 Mon Sep 17 00:00:00 2001 From: Raphael Graf Date: Mon, 1 May 2023 16:45:30 +0200 Subject: [PATCH] Fix shifting of rows by 0 pixels in pixs0r filter Resolves #162 --- src/filter/pixs0r/pixs0r.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filter/pixs0r/pixs0r.cc b/src/filter/pixs0r/pixs0r.cc index a982b919..3c72b41d 100644 --- a/src/filter/pixs0r/pixs0r.cc +++ b/src/filter/pixs0r/pixs0r.cc @@ -59,7 +59,7 @@ struct pixshift0r } else { - std::copy (inframe, inframe + m_width, outframe); + std::copy (inrow, inrow + m_width, outrow); } } @@ -215,4 +215,4 @@ void f0r_destruct (f0r_instance_t instance) { delete static_cast(instance); } -} \ No newline at end of file +}