X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmodules%2Fxine%2Fdeinterlace.c;h=9444964f9e5044f39626a7909fcc9f9d97588ad9;hb=4a16e2d841d4b567d658a35350fe579ea4c8c4ff;hp=60139e00c27a8dcf3556529a6006223c9c452c95;hpb=69f587b1e161e8a9e4a2d13aa0ffc10c187acc37;p=mlt diff --git a/src/modules/xine/deinterlace.c b/src/modules/xine/deinterlace.c index 60139e00..9444964f 100644 --- a/src/modules/xine/deinterlace.c +++ b/src/modules/xine/deinterlace.c @@ -36,6 +36,7 @@ #include "xineutils.h" #define xine_fast_memcpy memcpy +#define xine_fast_memmove memmove /* DeinterlaceFieldBob algorithm @@ -644,7 +645,7 @@ static void deinterlace_linearblend_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], int n; /* Copy first line */ - xine_fast_memcpy(pdst, psrc[0], LineLength); + xine_fast_memmove(pdst, psrc[0], LineLength); for (Line = 1; Line < height - 1; ++Line) { @@ -694,7 +695,7 @@ static void deinterlace_linearblend_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], } /* Copy last line */ - xine_fast_memcpy(pdst + Line * LineLength, + xine_fast_memmove(pdst + Line * LineLength, psrc[0] + Line * LineLength, LineLength); /* clear out the MMX registers ready for doing floating point