Commit 9460226a authored by hkuang's avatar hkuang Committed by Gerrit Code Review

Merge "Fix valgrind error."

parents dce5b82f 1339f384
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment