shithub: libvpx

Download patch

ref: db487188b17df4fc670d31d223f38a32a504f10a
parent: 321c2fd178b62f1369d866c074ccc54f0b6e2eb2
parent: fb550ee620f9a2d29e0c8d24c1b0a5c305af775a
author: James Zern <jzern@google.com>
date: Tue Sep 10 10:03:31 EDT 2013

Merge "vpx_mem: increase default alignment"

--- a/vpx_mem/include/vpx_mem_intrnl.h
+++ b/vpx_mem/include/vpx_mem_intrnl.h
@@ -50,12 +50,8 @@
 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
--