1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

sws: replace long by x86_reg in x86 asm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-10-24 12:23:51 +02:00
parent 35075dc650
commit b616600516

View File

@ -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
);
}