summaryrefslogtreecommitdiffstats
path: root/libhb/nlmeans.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-05-30 14:41:16 -0700
committerBradley Sepos <[email protected]>2017-05-31 04:55:33 -0400
commit29a49a83a61885141d0062a850cee3cb90106f20 (patch)
tree15ab409f67fa4c9eabb76ebac64dda0609cc4fb2 /libhb/nlmeans.c
parent66a364099807593f50226c811dc3345ed4d5371a (diff)
nlmeans: fix prefilter passthru
This is an error that crept in when making nlmeans multithreaded
Diffstat (limited to 'libhb/nlmeans.c')
-rw-r--r--libhb/nlmeans.c2
1 files changed, 1 insertions, 1 deletions
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);