ref: 463cea9702e645dd84dadee2a1bb051c23ff4bff
parent: e9d21a4598484a1001c94f61aec135d7e6f56152
author: Wayne Liu <huili2@cisco.com>
date: Wed Feb 19 03:56:54 EST 2020
fix ubsan failure in UT
--- a/test/decoder/DecUT_DeblockCommon.cpp
+++ b/test/decoder/DecUT_DeblockCommon.cpp
@@ -804,7 +804,7 @@
// Dummy picture list pointers to 1..MAX_DPB_COUNT
// the pointer values don't need to be valid, just different
for (i = 0; i < MAX_DPB_COUNT; i++)
- iFilterPics[0][i] = iFilterPics[1][i] = (PPicture) (iFilterPics + i);
+ iFilterPics[0][i] = iFilterPics[1][i] = (PPicture) (iFilterPics[0] + i);
sFilter.pRefPics[0] = iFilterPics[0];
sFilter.pRefPics[1] = iFilterPics[1];