summaryrefslogtreecommitdiff
path: root/libswresample/x86
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2014-05-07 14:16:26 +1000
committerMichael Niedermayer <michaelni@gmx.at>2014-05-07 15:02:45 +0200
commit1898c2f49da3151fbce04ecf35971005707a609d (patch)
tree8a34d0bdd66b30c062c1a24d8bdf7b9759d40d2a /libswresample/x86
parent134206ca7a3d395c827e6a041f7f01e5fb9e1693 (diff)
inline asm: fix arrays as named constraints.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/x86')
-rw-r--r--libswresample/x86/resample_mmx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/x86/resample_mmx.h b/libswresample/x86/resample_mmx.h
index 06f8da66e1..2bd48a9295 100644
--- a/libswresample/x86/resample_mmx.h
+++ b/libswresample/x86/resample_mmx.h
@@ -48,7 +48,7 @@ __asm__ volatile(\
: "r" (((uint8_t*)(src+sample_index))-len),\
"r" (((uint8_t*)filter)-len),\
"r" (dst+dst_index)\
- NAMED_CONSTRAINTS_ADD(ff_resample_int16_rounder)\
+ NAMED_CONSTRAINTS_ARRAY_ADD(ff_resample_int16_rounder)\
);
#define LINEAR_CORE_INT16_MMX2 \
@@ -100,7 +100,7 @@ __asm__ volatile(\
: "r" (((uint8_t*)(src+sample_index))-len),\
"r" (((uint8_t*)filter)-len),\
"r" (dst+dst_index)\
- NAMED_CONSTRAINTS_ADD(ff_resample_int16_rounder)\
+ NAMED_CONSTRAINTS_ARRAY_ADD(ff_resample_int16_rounder)\
XMM_CLOBBERS_ONLY("%xmm0", "%xmm1")\
);