Index: source/libvpx/vpx_mem/include/vpx_mem_intrnl.h |
=================================================================== |
--- source/libvpx/vpx_mem/include/vpx_mem_intrnl.h (revision 223100) |
+++ source/libvpx/vpx_mem/include/vpx_mem_intrnl.h (working copy) |
@@ -50,14 +50,10 @@ |
calls to vpx_* functions other |
than vpx_memalign*/ |
# else |
-# define DEFAULT_ALIGNMENT 1 |
+# define DEFAULT_ALIGNMENT (2 * sizeof(void*)) /* NOLINT */ |
# endif |
#endif |
-#if DEFAULT_ALIGNMENT < 1 |
-# error "DEFAULT_ALIGNMENT must be >= 1!" |
-#endif |
- |
#if CONFIG_MEM_TRACKER |
# define TRY_BOUNDS_CHECK 1 /*when set to 1 pads each allocation, |
integrity can be checked using |