Commit a3d70911 authored by Yushin Cho's avatar Yushin Cho

Fix compile warning

Fixed the compile warning when both global-motion
and warped-motion are disabled.

Change-Id: Ie3ac036fc6c0a15e54a56427452682d7ea7864db
parent 7a3f4b35
......@@ -5265,6 +5265,7 @@ static void joint_motion_search(const AV1_COMP *cpi, MACROBLOCK *x,
int ite, ref;
struct scale_factors sf;
#if CONFIG_GLOBAL_MOTION || CONFIG_WARPED_MOTION
struct macroblockd_plane *const pd = &xd->plane[0];
// ic and ir are the 4x4 coordiantes of the sub8x8 at index "block"
const int ic = block & 1;
const int ir = (block - ic) >> 1;
......
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