Mercurial > mplayer.hg
changeset 27541:022dc2be8cf5
Fix overflow.
author | michael |
---|---|
date | Wed, 10 Sep 2008 20:47:16 +0000 |
parents | c1169d855bb7 |
children | 090bf8535df8 |
files | libswscale/swscale_template.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale_template.c Wed Sep 10 20:05:32 2008 +0000 +++ b/libswscale/swscale_template.c Wed Sep 10 20:47:16 2008 +0000 @@ -190,8 +190,8 @@ "1: \n\t"\ "movq (%0, %%"REG_a", 2), %%mm0 \n\t"\ "movq 8(%0, %%"REG_a", 2), %%mm1 \n\t"\ - "paddw %%mm7, %%mm0 \n\t"\ - "paddw %%mm7, %%mm1 \n\t"\ + "paddsw %%mm7, %%mm0 \n\t"\ + "paddsw %%mm7, %%mm1 \n\t"\ "psraw $7, %%mm0 \n\t"\ "psraw $7, %%mm1 \n\t"\ "packuswb %%mm1, %%mm0 \n\t"\