diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-27 19:01:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-27 20:08:37 +0200 |
commit | afd2371d5c53e197128719196e7586d653ce931b (patch) | |
tree | 09cfd017d2cb09639390a74b3f2deb56c9a274f4 | |
parent | 6d4c49a2afdb823418297bb9157890b80d45c0fe (diff) | |
download | ffmpeg-afd2371d5c53e197128719196e7586d653ce931b.tar.gz |
merge read and and in add_paeth_prediction
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/x86/png_mmx.c | 3 |
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"\ |