summaryrefslogtreecommitdiffstats
path: root/liba52/resample.c
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-05 13:33:50 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-05 13:33:50 +0000
commit236d514567d5681fe2f7df110d7b1f46a7be701f (patch)
tree86f2a2412d99fd7d9d2ab06eb7529103b4350c47 /liba52/resample.c
parent4bf7522a2ed124855eb7756b9c8f72a4cb683be4 (diff)
downloadmpv-236d514567d5681fe2f7df110d7b1f46a7be701f.tar.bz2
mpv-236d514567d5681fe2f7df110d7b1f46a7be701f.tar.xz
liba52 asm optimizations ported to amd64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16174 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'liba52/resample.c')
-rw-r--r--liba52/resample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liba52/resample.c b/liba52/resample.c
index 03210840b5..e130afef86 100644
--- a/liba52/resample.c
+++ b/liba52/resample.c
@@ -15,7 +15,7 @@ int (* a52_resample) (float * _f, int16_t * s16)=NULL;
#include "resample_c.c"
-#ifdef ARCH_X86
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
#include "resample_mmx.c"
#endif
@@ -26,7 +26,7 @@ int (* a52_resample) (float * _f, int16_t * s16)=NULL;
void* a52_resample_init(uint32_t mm_accel,int flags,int chans){
void* tmp;
-#ifdef ARCH_X86
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
if(mm_accel&MM_ACCEL_X86_MMX){
tmp=a52_resample_MMX(flags,chans);
if(tmp){