History

fix ubsan failure in UT

Wayne Liu committed 6 years ago

Commit 55932a91 parent b5cf2ca1 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
804804 // Dummy picture list pointers to 1..MAX_DPB_COUNT
805805 // the pointer values don't need to be valid, just different
806806 for (i = 0; i < MAX_DPB_COUNT; i++)
807− iFilterPics[0][i] = iFilterPics[1][i] = (PPicture) (iFilterPics + (i << 3));
807+ iFilterPics[0][i] = iFilterPics[1][i] = (PPicture) (iFilterPics + i);
808808
809809 sFilter.pRefPics[0] = iFilterPics[0];
810810 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