Commit e3974704 authored by Hui Su's avatar Hui Su

Add assertion to check if blk_skip[] is properly valued

Change-Id: Idff61417b856234bc7d2315072f6e33d333d17fc
parent 5a6ec1ae
......@@ -515,6 +515,8 @@ void av1_encode_block_intra(int plane, int block, int blk_row, int blk_col,
av1_predict_intra_block_facade(cm, xd, plane, blk_col, blk_row, tx_size);
const int bw = block_size_wide[plane_bsize] >> tx_size_wide_log2[0];
// Assert not magic number (uninitialized).
assert(x->blk_skip[plane][blk_row * bw + blk_col] != 234);
if (x->blk_skip[plane][blk_row * bw + blk_col] && plane == 0) {
*eob = 0;
p->txb_entropy_ctx[block] = 0;
......
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