summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorİsmail Dönmez <ismail@namtrac.org>2010-10-04 13:08:13 +0000
committerMartin Storsjö <martin@martin.st>2010-10-04 13:08:13 +0000
commit9276bdddca3dba697ffead22ce591657b7b33e24 (patch)
tree65c86ec569465135c18ad97b42bab23aba577479 /libavcodec
parent92c5052db971a2a3dfb7c3fc4317b55f401d7811 (diff)
snowdsp: Explicitly state the operand sizes
Fixes compilation with clang's builtin assembler Patch by İsmail Dönmez, ismail at namtrac dot org Originally committed as revision 25331 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/snowdsp_mmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/snowdsp_mmx.c b/libavcodec/x86/snowdsp_mmx.c
index d9d589eb5a..9c1fa429a8 100644
--- a/libavcodec/x86/snowdsp_mmx.c
+++ b/libavcodec/x86/snowdsp_mmx.c
@@ -812,7 +812,7 @@ snow_inner_add_yblock_sse2_end_16
"add %%"REG_c", "PTR_SIZE"*2(%%"REG_a");\n\t"\
"add %%"REG_c", "PTR_SIZE"*1(%%"REG_a");\n\t"\
"add %%"REG_c", (%%"REG_a") \n\t"\
- "add $"PTR_SIZE"*1, %1 \n\t"\
+ "add"OPSIZE " $"PTR_SIZE"*1, %1 \n\t"\
"add %%"REG_c", %0 \n\t"\
"dec %2 \n\t"\
"jnz 1b \n\t"\