Commit db487188 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "vpx_mem: increase default alignment"

Showing with 1 addition and 5 deletions
...@@ -50,14 +50,10 @@ vpx_memcpy, _memset, and _memmove*/ ...@@ -50,14 +50,10 @@ vpx_memcpy, _memset, and _memmove*/
calls to vpx_* functions other calls to vpx_* functions other
than vpx_memalign*/ than vpx_memalign*/
# else # else
# define DEFAULT_ALIGNMENT 1 # define DEFAULT_ALIGNMENT (2 * sizeof(void*)) /* NOLINT */
# endif # endif
#endif #endif
#if DEFAULT_ALIGNMENT < 1
# error "DEFAULT_ALIGNMENT must be >= 1!"
#endif
#if CONFIG_MEM_TRACKER #if CONFIG_MEM_TRACKER
# define TRY_BOUNDS_CHECK 1 /*when set to 1 pads each allocation, # define TRY_BOUNDS_CHECK 1 /*when set to 1 pads each allocation,
integrity can be checked using integrity can be checked using
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment