ref: cb035614d094a943fb45d16c65f1e5c3b19fe50c
parent: 86ef5a0689da9a9e71ff424d52976ca09c128d9c
parent: 502912de3ab0b9a1b6d66eece92443c146f8177c
author: Yaowu Xu <[email protected]>
date: Tue Oct 29 09:44:07 EDT 2013
Merge "changed to comply with strict aliasing rule"
--- a/vp8/decoder/decodemv.c
+++ b/vp8/decoder/decodemv.c
@@ -512,15 +512,15 @@
else
{
mbmi->mode = NEARMV;
- vp8_clamp_mv2(&near_mvs[CNT_NEAR], &pbi->mb);
mbmi->mv.as_int = near_mvs[CNT_NEAR].as_int;
+ vp8_clamp_mv2(&mbmi->mv, &pbi->mb);
}
}
else
{
mbmi->mode = NEARESTMV;
- vp8_clamp_mv2(&near_mvs[CNT_NEAREST], &pbi->mb);
mbmi->mv.as_int = near_mvs[CNT_NEAREST].as_int;
+ vp8_clamp_mv2(&mbmi->mv, &pbi->mb);
}
}
else