diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-03 09:20:01 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-03 09:20:01 +0000 |
commit | 485b17cc7d419336c0244ab2594a0c00c16eec87 (patch) | |
tree | d84d0c21f5a437c8483df7447549db9f296d3ddc /libvo/aclib.c | |
parent | 4a981bf09aa13f3165e715ebe2c2658ce14d8aff (diff) | |
download | mpv-485b17cc7d419336c0244ab2594a0c00c16eec87.tar.bz2 mpv-485b17cc7d419336c0244ab2594a0c00c16eec87.tar.xz |
Do not assume that "long" is the size of a register.
Fixes aclib compilation on mingw64 (with --enable-runtime-cpudetection).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30177 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/aclib.c')
-rw-r--r-- | libvo/aclib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/aclib.c b/libvo/aclib.c index 4fbd36d10e..377dff9fce 100644 --- a/libvo/aclib.c +++ b/libvo/aclib.c @@ -23,9 +23,11 @@ #include "config.h" #include <stddef.h> +#include <stdint.h> #include <string.h> #include "cpudetect.h" #include "fastmemcpy.h" +#include "libavutil/x86_cpu.h" #undef memcpy #define BLOCK_SIZE 4096 |