Commit bd78fd6c authored by michael's avatar michael

preempt possible overflow


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6881 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5845915d
...@@ -347,7 +347,7 @@ static void ff_h264_idct8_dc_add_mmx2(uint8_t *dst, int16_t *block, int stride) ...@@ -347,7 +347,7 @@ static void ff_h264_idct8_dc_add_mmx2(uint8_t *dst, int16_t *block, int stride)
"pxor %%mm1 , %%mm4 \n\t"\ "pxor %%mm1 , %%mm4 \n\t"\
"pavgb %%mm2 , %%mm4 \n\t" /* (q0 - p0 + 256)>>1*/\ "pavgb %%mm2 , %%mm4 \n\t" /* (q0 - p0 + 256)>>1*/\
"pavgb %%mm5 , %%mm3 \n\t"\ "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"\ "movq "MANGLE(ff_pb_A1)" , %%mm6 \n\t"\
"psubusb %%mm3 , %%mm6 \n\t"\ "psubusb %%mm3 , %%mm6 \n\t"\
"psubusb "MANGLE(ff_pb_A1)" , %%mm3 \n\t"\ "psubusb "MANGLE(ff_pb_A1)" , %%mm3 \n\t"\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment