sws: replace long by x86_reg in x86 asm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 13 years ago
parent 35075dc650
commit b616600516
  1. 2
      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
);
}

Loading…
Cancel
Save