From: hkuang Date: Wed, 11 Dec 2013 20:11:57 +0000 (-0800) Subject: Fix valgrind error. X-Git-Tag: v1.4.0~2860^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1339f3842c36ee349a983129342763bfcf86c8cd;p=libvpx Fix valgrind error. Temporarily change memcpy to memmove. Change-Id: I700a197bc1ce496be1ddad7118429c5da465b0ca --- diff --git a/vp9/common/vp9_reconinter.c b/vp9/common/vp9_reconinter.c index ba81bbd67..a1575ee73 100644 --- a/vp9/common/vp9_reconinter.c +++ b/vp9/common/vp9_reconinter.c @@ -49,7 +49,7 @@ static void build_mc_border(const uint8_t *src, uint8_t *dst, int stride, memset(dst, ref_row[0], left); if (copy) - memcpy(dst + left, ref_row + x + left, copy); + memmove(dst + left, ref_row + x + left, copy); if (right) memset(dst + left + copy, ref_row[w - 1], right);