Browse Source

Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile

that code othewisei (leading to segfaults).

Originally committed as revision 15814 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
tags/v0.5
Guillaume Poirier 20 years ago
parent
commit
69cf0be2c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      postproc/swscale_template.c

+ 1
- 1
postproc/swscale_template.c View File

@@ -2547,7 +2547,7 @@ FUNNY_UV_CODE
"cmp %2, %%"REG_a" \n\t"
" jb 1b \n\t"

:: "m" (src1), "m" (dst), "mp" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
:: "m" (src1), "m" (dst), "g" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
"r" (src2)
: "%"REG_a, "%"REG_b, "%ecx", "%"REG_D, "%esi"
);


Loading…
Cancel
Save