Commit 99ff89b6 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "rdopt: clear maybe-uninitialized variable warning" into nextgenv2

parents 713b5612 70c4fab5
......@@ -9430,10 +9430,10 @@ PALETTE_EXIT:
#endif // CONFIG_REF_MV
#if CONFIG_GLOBAL_MOTION
zeromv[0].as_int = cm->global_motion[refs[0]].motion_params.wmmat[0].as_int;
if (comp_pred_mode) {
zeromv[1].as_int =
cm->global_motion[refs[1]].motion_params.wmmat[0].as_int;
}
zeromv[1].as_int =
comp_pred_mode
? cm->global_motion[refs[1]].motion_params.wmmat[0].as_int
: 0;
#else
zeromv[0].as_int = 0;
zeromv[1].as_int = 0;
......
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