Fix compile warning when DIST_8X8 is off
Change-Id: I6b481ec51ffdd5fd63f89ad700b888810ae41731
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index d7d22af..99fac13 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -3553,7 +3553,6 @@
MACROBLOCKD *const xd = &x->e_mbd;
MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi;
struct macroblock_plane *const p = &x->plane[0];
- struct macroblockd_plane *const pd = &xd->plane[0];
const int max_blocks_high = max_block_high(xd, plane_bsize, 0);
const int max_blocks_wide = max_block_wide(xd, plane_bsize, 0);
const int bw = block_size_wide[plane_bsize] >> tx_size_wide_log2[0];
@@ -3651,6 +3650,7 @@
int64_t tmp_rd = 0;
#if CONFIG_DIST_8X8
int sub8x8_eob[4] = { 0, 0, 0, 0 };
+ struct macroblockd_plane *const pd = &xd->plane[0];
#endif
sum_rd_stats.rate = x->txfm_partition_cost[ctx][1];