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_x86.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_x86.c')
-rw-r--r-- | libhb/nlmeans_x86.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libhb/nlmeans_x86.c b/libhb/nlmeans_x86.c index aa727d96a..564668e0a 100644 --- a/libhb/nlmeans_x86.c +++ b/libhb/nlmeans_x86.c @@ -8,9 +8,12 @@ For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html */ +#include "hb.h" // needed for ARCH_X86 + +#if defined(ARCH_X86) + #include <emmintrin.h> -#include "hb.h" #include "libavutil/cpu.h" #include "nlmeans.h" @@ -148,3 +151,5 @@ void nlmeans_init_x86(NLMeansFunctions *functions) hb_log("NLMeans using SSE2 optimizations"); } } + +#endif // ARCH_X86 |