warped_motion: set correct sample array size

Change-Id: I28e0d2c35c7b1eeb1d5f6eb5d4592ffa96032175
diff --git a/av1/common/warped_motion.h b/av1/common/warped_motion.h
index d0b61aa..5e9f0e2 100644
--- a/av1/common/warped_motion.h
+++ b/av1/common/warped_motion.h
@@ -25,10 +25,9 @@
 
 #define MAX_PARAMDIM 9
 #if CONFIG_WARPED_MOTION
-#define SAMPLES_ARRAY_SIZE ((2 * MAX_MIB_SIZE + 2) * 2)
-
 #define LEAST_SQUARES_SAMPLES_MAX_BITS 3
 #define LEAST_SQUARES_SAMPLES_MAX (1 << LEAST_SQUARES_SAMPLES_MAX_BITS)
+#define SAMPLES_ARRAY_SIZE (LEAST_SQUARES_SAMPLES_MAX * 2)
 
 #define DEFAULT_WMTYPE AFFINE
 #endif  // CONFIG_WARPED_MOTION