From: John Stebbins Date: Tue, 30 May 2017 21:41:16 +0000 (-0700) Subject: nlmeans: fix prefilter passthru X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ffee7683d81ddc66715d670b6bf0a5ac1ab0de2;p=handbrake nlmeans: fix prefilter passthru This is an error that crept in when making nlmeans multithreaded (cherry picked from commit 29a49a83a61885141d0062a850cee3cb90106f20) --- 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);