change WEBP_ALIGN_CST value to 31

(and make dec/frame.c use the common macros too)

Change-Id: Ie44dbd82e067934b17ca3ffba4dd45ab0d61d3f6
This commit is contained in:
Pascal Massimino
2015-10-14 00:29:57 -07:00
committed by James Zern
parent f717b82864
commit d64d376c2a
2 changed files with 4 additions and 7 deletions

View File

@ -46,7 +46,7 @@ WEBP_EXTERN(void) WebPSafeFree(void* const ptr);
//------------------------------------------------------------------------------
// Alignment
#define WEBP_ALIGN_CST 15
#define WEBP_ALIGN_CST 31
#define WEBP_ALIGN(PTR) ((uintptr_t)((PTR) + WEBP_ALIGN_CST) & ~WEBP_ALIGN_CST)
//------------------------------------------------------------------------------