Commit ba575a09 authored by James Zern's avatar James Zern

quiet warnings with CONFIG_DEBUG

unused var plane_bsize

Change-Id: I02d75ec5ceab2f9d61a1a4ff5b5f1bc2d1b0a7a4
parent 1637d424
......@@ -2171,6 +2171,7 @@ void av1_predict_intra_block_facade(const AV1_COMMON *cm, MACROBLOCKD *xd,
#if CONFIG_DEBUG
assert(is_cfl_allowed(mbmi));
const BLOCK_SIZE plane_bsize = get_plane_block_size(mbmi->sb_type, pd);
(void)plane_bsize;
assert(plane_bsize < BLOCK_SIZES_ALL);
if (!xd->lossless[mbmi->segment_id]) {
assert(blk_col == 0);
......
......@@ -5341,6 +5341,7 @@ static int cfl_rd_pick_alpha(MACROBLOCK *const x, const AV1_COMP *const cpi,
assert(is_cfl_allowed(mbmi));
const BLOCK_SIZE plane_bsize =
get_plane_block_size(mbmi->sb_type, &xd->plane[AOM_PLANE_U]);
(void)plane_bsize;
assert(plane_bsize < BLOCK_SIZES_ALL);
if (!xd->lossless[mbmi->segment_id]) {
assert(block_size_wide[plane_bsize] == tx_size_wide[tx_size]);
......
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