diff options
Diffstat (limited to 'libvo/osd.c')
-rw-r--r-- | libvo/osd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/osd.c b/libvo/osd.c index 992ffc01f3..08cda11a81 100644 --- a/libvo/osd.c +++ b/libvo/osd.c @@ -27,6 +27,7 @@ #include "osd.h" #include "mp_msg.h" #include <inttypes.h> +#include <endian.h> #include "cpudetect.h" #if ARCH_X86 @@ -35,6 +36,8 @@ static const unsigned long long mask24lh __attribute__((aligned(8))) = 0xFFFF00 static const unsigned long long mask24hl __attribute__((aligned(8))) = 0x0000FFFFFFFFFFFFULL; #endif +#define CONFIG_RUNTIME_CPUDETECT 1 + //Note: we have C, X86-nommx, MMX, MMX2, 3DNOW version therse no 3DNOW+MMX2 one //Plain C versions #if !HAVE_MMX || CONFIG_RUNTIME_CPUDETECT |