You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
sws: replace long by x86_reg in x86 asm
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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"
|
"add $8, %%"REG_a" \n\t"
|
||||||
"jnc 1b \n\t"
|
"jnc 1b \n\t"
|
||||||
:: "r" (src + dstW), "r" (dst + dstW),
|
:: "r" (src + dstW), "r" (dst + dstW),
|
||||||
"g" ((long)-dstW)
|
"g" ((x86_reg)-dstW)
|
||||||
: "%"REG_a
|
: "%"REG_a
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user