summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-24 12:23:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-24 12:23:51 +0200
commitb616600516a0b46c365ee4fbd65167d6d276a9ad (patch)
treeda2d6fa2fd7b290d5a5a2f1e0e902f6f740449c9 /libswscale
parent35075dc65041899eb6049dc80095b3f26847469e (diff)
sws: replace long by x86_reg in x86 asm
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/x86/swscale_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/x86/swscale_template.c b/libswscale/x86/swscale_template.c
index 2659c54117..0f177176cb 100644
--- a/libswscale/x86/swscale_template.c
+++ b/libswscale/x86/swscale_template.c
@@ -127,7 +127,7 @@ static void RENAME(yuv2yuv1_ar)(const int16_t *src, uint8_t *dst, int dstW, cons
"add $8, %%"REG_a" \n\t"
"jnc 1b \n\t"
:: "r" (src + dstW), "r" (dst + dstW),
- "g" ((long)-dstW)
+ "g" ((x86_reg)-dstW)
: "%"REG_a
);
}