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
This commit is contained in:
Родитель
ebeb1155d4
Коммит
5027415dd7
|
@ -4517,6 +4517,7 @@ void av1_rd_pick_inter_mode_sb_seg_skip(AV1_COMP *cpi, TileDataEnc *tile_data,
|
|||
mbmi->ref_frame[0] = LAST_FRAME;
|
||||
mbmi->ref_frame[1] = NONE;
|
||||
mbmi->mv[0].as_int = 0;
|
||||
mbmi->tx_size = max_txsize_lookup[bsize];
|
||||
#if CONFIG_MOTION_VAR
|
||||
mbmi->motion_mode = SIMPLE_TRANSLATION;
|
||||
#endif // CONFIG_MOTION_VAR
|
||||
|
|
Загрузка…
Ссылка в новой задаче