summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Darroch <[email protected]>2017-12-29 23:21:24 -0800
committerBradley Sepos <[email protected]>2017-12-30 06:25:01 -0500
commit7a9f97278418e3ed59c23a8d291e9c98b8e5c0b0 (patch)
tree27716d34b40b2cff142ace2484ca00c139774234
parentf3a811ae043ed5641d17c0fcf1ec79560746cc90 (diff)
libhb: Fix nlmeans prefilter passthru frame addressing.
In commit 29a49a8, the nlmeans_prefilter() call in nlmeans_filter_thread() was fixed, but a corresponding change was not made to the similar call site in nlmeans_filter_flush().
-rw-r--r--libhb/nlmeans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/nlmeans.c b/libhb/nlmeans.c
index 02433e3d3..7b6a8deb1 100644
--- a/libhb/nlmeans.c
+++ b/libhb/nlmeans.c
@@ -1138,7 +1138,7 @@ static hb_buffer_t * nlmeans_filter_flush(hb_filter_private_t *pv)
}
if (pv->prefilter[c] & NLMEANS_PREFILTER_MODE_PASSTHRU)
{
- nlmeans_prefilter(&pv->frame[f].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);