summaryrefslogtreecommitdiff
path: root/vp9/common
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2013-11-25 08:11:35 -0800
committerYaowu Xu <yaowu@google.com>2013-11-25 08:11:35 -0800
commit86368faca91b01528e32a1b7d46487dedb8ec538 (patch)
treedf7711d5af0d1c64f7e1e7becd18ed994fde5fcd /vp9/common
parent2d50c8498d1b4e03fa249d83fd88b148bca590e5 (diff)
downloadlibvpx-86368faca91b01528e32a1b7d46487dedb8ec538.tar
libvpx-86368faca91b01528e32a1b7d46487dedb8ec538.tar.gz
libvpx-86368faca91b01528e32a1b7d46487dedb8ec538.tar.bz2
libvpx-86368faca91b01528e32a1b7d46487dedb8ec538.zip
Fix a build issue with visual c.
Change-Id: Ic8fc16ee1734cfde0d12a2e3abb3e9299382f3b1
Diffstat (limited to 'vp9/common')
-rw-r--r--vp9/common/vp9_findnearmv.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/vp9/common/vp9_findnearmv.c b/vp9/common/vp9_findnearmv.c
index 66178cd1b..ad97c0277 100644
--- a/vp9/common/vp9_findnearmv.c
+++ b/vp9/common/vp9_findnearmv.c
@@ -63,10 +63,12 @@ void vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *cm, MACROBLOCKD *xd,
break;
}
} else {
- int_mv candidates[2 + MAX_MV_REF_CANDIDATES] = { bmi[1].as_mv[ref_idx],
- bmi[0].as_mv[ref_idx],
- mv_list[0],
- mv_list[1] };
+ int_mv candidates[2 + MAX_MV_REF_CANDIDATES];
+ candidates[0] = bmi[1].as_mv[ref_idx];
+ candidates[1] = bmi[0].as_mv[ref_idx];
+ candidates[2] = mv_list[0];
+ candidates[3] = mv_list[1];
+
assert(block_idx == 3);
dst_nearest->as_int = bmi[2].as_mv[ref_idx].as_int;
for (n = 0; n < 2 + MAX_MV_REF_CANDIDATES; ++n) {