projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f177a
)
Fix valgrind memcpy memory overlaps warning
author
Adrian Grange
<agrange@google.com>
Tue, 3 Mar 2015 17:19:54 +0000
(09:19 -0800)
committer
Adrian Grange
<agrange@google.com>
Tue, 3 Mar 2015 23:06:34 +0000
(15:06 -0800)
Change-Id: Id0bb162b48b891c5c849f0411ef2ac0aa4bbe261
vp9/encoder/vp9_rdopt.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_rdopt.c
b/vp9/encoder/vp9_rdopt.c
index
53a5dba
..
846a9f9
100644
(file)
--- a/
vp9/encoder/vp9_rdopt.c
+++ b/
vp9/encoder/vp9_rdopt.c
@@
-1316,8
+1316,8
@@
static int set_and_cost_bmi_mvs(VP9_COMP *cpi, MACROBLOCKD *xd, int i,
for (idy = 0; idy < num_4x4_blocks_high; ++idy)
for (idx = 0; idx < num_4x4_blocks_wide; ++idx)
- vpx_mem
cpy
(&mic->bmi[i + idy * 2 + idx],
- &mic->bmi[i], sizeof(mic->bmi[i]));
+ vpx_mem
move
(&mic->bmi[i + idy * 2 + idx],
+
&mic->bmi[i], sizeof(mic->bmi[i]));
return cost_mv_ref(cpi, mode, mbmi->mode_context[mbmi->ref_frame[0]]) +
thismvcost;