From 0b9cc8e04c3d2d70b67e420a67919e7d92c2f78c Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Wed, 10 Jan 2018 23:55:24 -0500 Subject: [PATCH] libhb: Make prefiltered check in NLMeans more explicit. --- libhb/nlmeans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/nlmeans.c b/libhb/nlmeans.c index 0ca0f4f6d..d5751c1bd 100644 --- a/libhb/nlmeans.c +++ b/libhb/nlmeans.c @@ -587,7 +587,7 @@ static void nlmeans_prefilter(BorderedPlane *src, const int filter_type) { hb_lock(src->mutex); - if (src->prefiltered) + if (src->prefiltered == 1) { hb_unlock(src->mutex); return; -- 2.40.0