[Ffmpeg-cvslog] r6881 - trunk/libavcodec/i386/h264dsp_mmx.c

michael subversion
Fri Nov 3 12:07:35 CET 2006


Author: michael
Date: Fri Nov  3 12:07:35 2006
New Revision: 6881

Modified:
   trunk/libavcodec/i386/h264dsp_mmx.c

Log:
preempt possible overflow


Modified: trunk/libavcodec/i386/h264dsp_mmx.c
==============================================================================
--- trunk/libavcodec/i386/h264dsp_mmx.c	(original)
+++ trunk/libavcodec/i386/h264dsp_mmx.c	Fri Nov  3 12:07:35 2006
@@ -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"\




More information about the ffmpeg-cvslog mailing list