projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd8897e
)
Fix overflow.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 10 Sep 2008 20:47:16 +0000
(20:47 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 10 Sep 2008 20:47:16 +0000
(20:47 +0000)
Originally committed as revision 27573 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale_template.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale_template.c
b/libswscale/swscale_template.c
index
81743f2
..
6048bfc
100644
(file)
--- a/
libswscale/swscale_template.c
+++ b/
libswscale/swscale_template.c
@@
-190,8
+190,8
@@
"1: \n\t"\
"movq (%0, %%"REG_a", 2), %%mm0 \n\t"\
"movq 8(%0, %%"REG_a", 2), %%mm1 \n\t"\
- "padd
w
%%mm7, %%mm0 \n\t"\
- "padd
w
%%mm7, %%mm1 \n\t"\
+ "padd
sw
%%mm7, %%mm0 \n\t"\
+ "padd
sw
%%mm7, %%mm1 \n\t"\
"psraw $7, %%mm0 \n\t"\
"psraw $7, %%mm1 \n\t"\
"packuswb %%mm1, %%mm0 \n\t"\