diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-18 17:07:30 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-18 17:07:30 +0000 |
commit | d0ce212a7ae2e98e5d9c04a5d38896c1993f50f1 (patch) | |
tree | f2485882758407250fe75028c2a63b35bae69619 /libswscale/swscale.c | |
parent | 2b823a529905a0ecb183547b4e41e00110975a59 (diff) |
Do not assume long is same width as x86 register.
Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 5445425077..5974ea566c 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1466,13 +1466,13 @@ error: static void initMMX2HScaler(int dstW, int xInc, uint8_t *funnyCode, int16_t *filter, int32_t *filterPos, int numSplits) { uint8_t *fragmentA; - long imm8OfPShufW1A; - long imm8OfPShufW2A; - long fragmentLengthA; + x86_reg imm8OfPShufW1A; + x86_reg imm8OfPShufW2A; + x86_reg fragmentLengthA; uint8_t *fragmentB; - long imm8OfPShufW1B; - long imm8OfPShufW2B; - long fragmentLengthB; + x86_reg imm8OfPShufW1B; + x86_reg imm8OfPShufW2B; + x86_reg fragmentLengthB; int fragmentPos; int xpos, i; |