summaryrefslogtreecommitdiffstats
path: root/libhb/nlmeans.c
diff options
context:
space:
mode:
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 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;