Commit 05f540a1 authored by Yushin Cho's avatar Yushin Cho

Fix compile error when PVQ is enabled

Compile error was caused by one of previous commits, 7c2b7f25.

Change-Id: I51885cb03190ab736e4bcbae13bce40857da83b6
parent 1807fdc9
......@@ -1775,9 +1775,11 @@ static void choose_tx_size_type_from_rd(const AV1_COMP *const cpi,
if (mbmi->tx_size >= TX_32X32) assert(mbmi->tx_type == DCT_DCT);
#endif
#if CONFIG_PVQ
if (best_tx < TX_SIZES)
txfm_rd_in_plane(x, cpi, &r, &d, &s, &sse, ref_best_rd, 0, bs, best_tx,
if (best_tx < TX_SIZES) {
RD_STATS this_rd_stats;
txfm_rd_in_plane(x, cpi, &this_rd_stats, ref_best_rd, 0, bs, best_tx,
cpi->sf.use_fast_coef_costing);
}
#endif
}
......
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