diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-09-17 12:24:22 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-09-17 12:24:22 +0000 |
commit | ada65af9d19c53ad143b324b57ac581b0dfb812b (patch) | |
tree | b9e035bd57de42baa82f3cd01dbf5fe4e4fb7a7f | |
parent | 8328ad137035cb946f9d4c6ef907a0502092c26a (diff) | |
download | ffmpeg-ada65af9d19c53ad143b324b57ac581b0dfb812b.tar.gz |
Don't access upper 32 bits of a 32-bit int on 64-bit systems.
Originally committed as revision 25140 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/x86/dsputilenc_yasm.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dsputilenc_yasm.asm b/libavcodec/x86/dsputilenc_yasm.asm index f52a962f75..b2844a5c72 100644 --- a/libavcodec/x86/dsputilenc_yasm.asm +++ b/libavcodec/x86/dsputilenc_yasm.asm @@ -284,7 +284,7 @@ HADAMARD8_DIFF_SSE2 ssse3, 9 INIT_XMM ; sse16_sse2(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h) cglobal sse16_sse2, 5, 5, 8 - shr r4, 1 + shr r4d, 1 pxor m0, m0 ; mm0 = 0 pxor m7, m7 ; mm7 holds the sum |