Commit 6408895e authored by Jingning Han's avatar Jingning Han Committed by Yaowu Xu
Browse files

Avoid the use of uninitialized value in ActiveMap encoding route

This commit resets the transform size to be the maximum possible
value. It avoids out-of-boundary writing when the ActiveMap is
turned on.

Change-Id: I8302dd9a5c9fffaea3edf9ad33f72aa111999737
parent 72120969
......@@ -9780,6 +9780,7 @@ void av1_rd_pick_inter_mode_sb_seg_skip(const AV1_COMP *cpi,
mbmi->mv[0].as_int = 0;
mbmi->tx_size = max_txsize_lookup[bsize];
x->skip = 1;
Supports Markdown
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