Commit 86368fac authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Fix a build issue with visual c.

Change-Id: Ic8fc16ee1734cfde0d12a2e3abb3e9299382f3b1
parent 2d50c849
...@@ -63,10 +63,12 @@ void vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *cm, MACROBLOCKD *xd, ...@@ -63,10 +63,12 @@ void vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *cm, MACROBLOCKD *xd,
break; break;
} }
} else { } else {
int_mv candidates[2 + MAX_MV_REF_CANDIDATES] = { bmi[1].as_mv[ref_idx], int_mv candidates[2 + MAX_MV_REF_CANDIDATES];
bmi[0].as_mv[ref_idx], candidates[0] = bmi[1].as_mv[ref_idx];
mv_list[0], candidates[1] = bmi[0].as_mv[ref_idx];
mv_list[1] }; candidates[2] = mv_list[0];
candidates[3] = mv_list[1];
assert(block_idx == 3); assert(block_idx == 3);
dst_nearest->as_int = bmi[2].as_mv[ref_idx].as_int; dst_nearest->as_int = bmi[2].as_mv[ref_idx].as_int;
for (n = 0; n < 2 + MAX_MV_REF_CANDIDATES; ++n) { for (n = 0; n < 2 + MAX_MV_REF_CANDIDATES; ++n) {
......
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