diff options
author | jstebbins <[email protected]> | 2015-02-26 19:44:41 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-02-26 19:44:41 +0000 |
commit | 90a6fc70ae14396334ab8a3ffcb734b7c5f29661 (patch) | |
tree | 470a3bf59aab25c70f867bfd81b420493d72e3d1 /libhb/nlmeans.c | |
parent | df99e1727fd3f72f0a418f0634afcd58fdec997a (diff) |
nlmeans: fix build on non-x86 architectures
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6945 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/nlmeans.c')
-rw-r--r-- | libhb/nlmeans.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libhb/nlmeans.c b/libhb/nlmeans.c index 3da7d7721..e0aac23c7 100644 --- a/libhb/nlmeans.c +++ b/libhb/nlmeans.c @@ -774,10 +774,9 @@ static int nlmeans_init(hb_filter_object_t *filter, NLMeansFunctions *functions = &pv->functions; functions->build_integral = build_integral_scalar; - if (ARCH_X86 == 1) - { - nlmeans_init_x86(functions); - } +#if defined(ARCH_X86) + nlmeans_init_x86(functions); +#endif // Mark parameters unset for (int c = 0; c < 3; c++) |