[SCM] libav/experimental: Fix overflow.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:29:55 UTC 2013
The following commit has been merged in the experimental branch:
commit 33a67bd6c7e4fb75e01a0f781e0a679c861f2950
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Wed Sep 10 20:47:16 2008 +0000
Fix overflow.
Originally committed as revision 27573 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c
index 81743f2..6048bfc 100644
--- 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"\
- "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"\
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list