]> granicus.if.org Git - libvpx/commitdiff
Fix valgrind error.
authorhkuang <hkuang@google.com>
Wed, 11 Dec 2013 20:11:57 +0000 (12:11 -0800)
committerhkuang <hkuang@google.com>
Wed, 11 Dec 2013 21:21:28 +0000 (13:21 -0800)
Temporarily change memcpy to memmove.

Change-Id: I700a197bc1ce496be1ddad7118429c5da465b0ca

vp9/common/vp9_reconinter.c

index ba81bbd67e6f6ecec4c85a76273e8535b11496b2..a1575ee736227eb61641a0507f15db92c1a23d83 100644 (file)
@@ -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);