summaryrefslogtreecommitdiff
path: root/libavcodec/i386
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-01-07 11:07:15 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-01-07 11:07:15 +0000
commit3df6fa77778a1507fa47ba16066f6d3ddff2aaa7 (patch)
tree298243b3dd51724f41639f917758f3a9879caa52 /libavcodec/i386
parent3bea538625a7cca8e1bc8b16ed8604b103319a0e (diff)
gcc 3.2.2 -O3 bug workaround (older gcc are very likely affected too but didnt check)
Originally committed as revision 1406 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r--libavcodec/i386/dsputil_mmx_rnd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/i386/dsputil_mmx_rnd.h b/libavcodec/i386/dsputil_mmx_rnd.h
index 676282b663..99ba746762 100644
--- a/libavcodec/i386/dsputil_mmx_rnd.h
+++ b/libavcodec/i386/dsputil_mmx_rnd.h
@@ -163,9 +163,9 @@ static void DEF(put, pixels16_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, in
"addl $32, %2 \n\t"
"subl $2, %0 \n\t"
"jnz 1b \n\t"
- :"+g"(h), "+r"(src1), "+r"(src2), "+r"(dst)
- :"r"(src1Stride), "r"(dstStride)
- :"memory");
+ :"+a"(h), "+b"(src1), "+c"(src2), "+d"(dst)
+ :"S"(src1Stride), "D"(dstStride)
+ :"memory");
}
static void DEF(put, pixels8_y2)(UINT8 *block, const UINT8 *pixels, int line_size, int h)