summaryrefslogtreecommitdiff
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-27 19:01:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-27 20:08:37 +0200
commitafd2371d5c53e197128719196e7586d653ce931b (patch)
tree09cfd017d2cb09639390a74b3f2deb56c9a274f4 /libavcodec/x86
parent6d4c49a2afdb823418297bb9157890b80d45c0fe (diff)
merge read and and in add_paeth_prediction
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/png_mmx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/x86/png_mmx.c b/libavcodec/x86/png_mmx.c
index cdf035962c..6e4c06cced 100644
--- a/libavcodec/x86/png_mmx.c
+++ b/libavcodec/x86/png_mmx.c
@@ -87,11 +87,10 @@ static void add_paeth_prediction_##cpu(uint8_t *dst, uint8_t *src, uint8_t *top,
"pand %%mm1, %%mm6 \n"\
"pand %%mm4, %%mm2 \n"\
"punpcklbw %%mm7, %%mm0 \n"\
- "movq %6, %%mm5 \n"\
"paddw %%mm6, %%mm0 \n"\
"paddw %%mm2, %%mm3 \n"\
"paddw %%mm3, %%mm0 \n"\
- "pand %%mm5, %%mm0 \n"\
+ "pand %6 , %%mm0 \n"\
"movq %%mm0, %%mm3 \n"\
"packuswb %%mm3, %%mm3 \n"\
"movd %%mm3, (%1,%0) \n"\