History

fix ubsan failure in UT

Wayne Liu committed 6 years ago

Commit 463cea91 parent e9d21a41 file · +1 −1Browse files

Showing the changes to test/decoder/DecUT_DeblockCommon.cpp (1 of 1 file). Show all

Unified · Split

test/decoder/DecUT_DeblockCommon.cpp+1−1
@@ -804,7 +804,7 @@ TEST (DecoderDeblocking, DeblockingBsMarginalMBAvcbase) { · 803 unmodified lines
804 // Dummy picture list pointers to 1..MAX_DPB_COUNT804 // Dummy picture list pointers to 1..MAX_DPB_COUNT
805 // the pointer values don't need to be valid, just different805 // the pointer values don't need to be valid, just different
806 for (i = 0; i < MAX_DPB_COUNT; i++)806 for (i = 0; i < MAX_DPB_COUNT; i++)
807 iFilterPics[0][i] = iFilterPics[1][i] = (PPicture) (iFilterPics + i);807 iFilterPics[0][i] = iFilterPics[1][i] = (PPicture) (iFilterPics[0] + i);
808 808
809 sFilter.pRefPics[0] = iFilterPics[0];809 sFilter.pRefPics[0] = iFilterPics[0];
810 sFilter.pRefPics[1] = iFilterPics[1];810 sFilter.pRefPics[1] = iFilterPics[1];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t