Descriptionmedia: gpu: vea_unittest: fix alignment on non ARM platforms
The base::AlignedAlloc expects a alignement multiple of sizeof(void*) :
DCHECK_EQ(alignment % sizeof(void*), 0U);
This fixes this error :
[0826/162544:FATAL:aligned_memory.cc(19)] Check failed: alignment % sizeof(void*) == 0U (1 vs. 0)
BUG=647570
TEST=run video_encode_accelerator_unittest on a non ARM platform
Committed: https://crrev.com/fa9176904652aafddc53351571dd2dc2c65a36db
Cr-Commit-Position: refs/heads/master@{#419124}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|