From 338e135ce790a32d48d9c30581fb65dd353ef97e Mon Sep 17 00:00:00 2001
From: David Barker <david.barker@argondesign.com>
Date: Mon, 13 Feb 2017 16:58:52 +0000
Subject: [PATCH] Fix compile error with global-motion + highbitdepth

Change-Id: If6b80d302a24db35f0e214865ddcdaae195dc032
---
 av1/common/warped_motion.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/av1/common/warped_motion.c b/av1/common/warped_motion.c
index 3f8b570aeb..9698c5fc3d 100644
--- a/av1/common/warped_motion.c
+++ b/av1/common/warped_motion.c
@@ -698,9 +698,9 @@ static void highbd_warp_plane(WarpedMotionParams *wm, uint8_t *ref8, int width,
     if (mat[2] == 0) {
       // assert(0 &&
       //   "Warped motion model is incompatible with new warp filter");
-      warp_plane_old(wm, ref, width, height, stride, pred, p_col, p_row,
-                     p_width, p_height, p_stride, subsampling_x, subsampling_y,
-                     x_scale, y_scale, ref_frm);
+      highbd_warp_plane_old(wm, ref8, width, height, stride, pred8, p_col,
+                            p_row, p_width, p_height, p_stride, subsampling_x,
+                            subsampling_y, x_scale, y_scale, bd, ref_frm);
       return;
     }
 
-- 
GitLab