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:
Родитель
72120969bc
Коммит
6408895e69
|
@ -9780,6 +9780,7 @@ void av1_rd_pick_inter_mode_sb_seg_skip(const AV1_COMP *cpi,
|
|||
#else // CONFIG_GLOBAL_MOTION
|
||||
mbmi->mv[0].as_int = 0;
|
||||
#endif // CONFIG_GLOBAL_MOTION
|
||||
mbmi->tx_size = max_txsize_lookup[bsize];
|
||||
x->skip = 1;
|
||||
|
||||
#if CONFIG_REF_MV
|
||||
|
|
Загрузка…
Ссылка в новой задаче