Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2149)

Unified Diff: source/libvpx/vpx_mem/include/vpx_mem_intrnl.h

Issue 23530058: libvpx: Pull from upstream (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/vpx/vpx_encoder.h ('k') | source/libvpx/vpxenc.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « source/libvpx/vpx/vpx_encoder.h ('k') | source/libvpx/vpxenc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698