From 6ffee7683d81ddc66715d670b6bf0a5ac1ab0de2 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 30 May 2017 14:41:16 -0700 Subject: [PATCH] nlmeans: fix prefilter passthru This is an error that crept in when making nlmeans multithreaded (cherry picked from commit 29a49a83a61885141d0062a850cee3cb90106f20) --- libhb/nlmeans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/nlmeans.c b/libhb/nlmeans.c index f7fd025fc..d5eeaabd8 100644 --- a/libhb/nlmeans.c +++ b/libhb/nlmeans.c @@ -1001,7 +1001,7 @@ static void nlmeans_filter_thread(void *thread_args_v) } if (pv->prefilter[c] & NLMEANS_PREFILTER_MODE_PASSTHRU) { - nlmeans_prefilter(&pv->frame->plane[c], pv->prefilter[c]); + nlmeans_prefilter(&frame->plane[c], pv->prefilter[c]); nlmeans_deborder(&frame->plane[c], buf->plane[c].data, buf->plane[c].width, buf->plane[c].stride, buf->plane[c].height); -- 2.40.0