summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-01-10 23:55:24 -0500
committerBradley Sepos <[email protected]>2018-01-10 23:55:24 -0500
commit0b9cc8e04c3d2d70b67e420a67919e7d92c2f78c (patch)
tree0ad9a13583629847c075914bfb075e37791e0015 /libhb
parent738326394e0e80f855d21c6f1d4996f29af35ce9 (diff)
libhb: Make prefiltered check in NLMeans more explicit.
Diffstat (limited to 'libhb')
-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;