Add paranoid sentinels
This commit is contained in:
parent
d753441028
commit
dc869c2985
@ -81,6 +81,10 @@ void opj_mct_encode(
|
||||
{
|
||||
OPJ_SIZE_T i;
|
||||
const OPJ_SIZE_T len = n;
|
||||
/* buffer are aligned on 16 bytes */
|
||||
assert( (uintptr_t)c0 & 16 == 0 );
|
||||
assert( (uintptr_t)c1 & 16 == 0 );
|
||||
assert( (uintptr_t)c2 & 16 == 0 );
|
||||
|
||||
for(i = 0; i < (len & ~3U); i += 4) {
|
||||
__m128i y, u, v;
|
||||
|
Loading…
x
Reference in New Issue
Block a user