Mercurial > libavcodec.hg
changeset 4130:226f53a6fcc2 libavcodec
preempt possible overflow
author | michael |
---|---|
date | Fri, 03 Nov 2006 11:07:35 +0000 |
parents | c5117bef5175 |
children | 1a8e384d0463 |
files | i386/h264dsp_mmx.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/h264dsp_mmx.c Fri Nov 03 09:59:15 2006 +0000 +++ b/i386/h264dsp_mmx.c Fri Nov 03 11:07:35 2006 +0000 @@ -347,7 +347,7 @@ "pxor %%mm1 , %%mm4 \n\t"\ "pavgb %%mm2 , %%mm4 \n\t" /* (q0 - p0 + 256)>>1*/\ "pavgb %%mm5 , %%mm3 \n\t"\ - "paddb %%mm4 , %%mm3 \n\t" /* d+128+33*/\ + "paddusb %%mm4 , %%mm3 \n\t" /* d+128+33*/\ "movq "MANGLE(ff_pb_A1)" , %%mm6 \n\t"\ "psubusb %%mm3 , %%mm6 \n\t"\ "psubusb "MANGLE(ff_pb_A1)" , %%mm3 \n\t"\