Mercurial > libavcodec.hg
changeset 12500:9575307cbb82 libavcodec
Don't access upper 32 bits of a 32-bit int on 64-bit systems.
author | rbultje |
---|---|
date | Fri, 17 Sep 2010 12:24:22 +0000 |
parents | bc17df45daa3 |
children | b3f9612d4ea7 |
files | x86/dsputilenc_yasm.asm |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/x86/dsputilenc_yasm.asm Fri Sep 17 03:01:57 2010 +0000 +++ b/x86/dsputilenc_yasm.asm Fri Sep 17 12:24:22 2010 +0000 @@ -284,7 +284,7 @@ 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