--- mem_align.c 2002/11/27 21:20:33 1.12 +++ mem_align.c 2002/12/28 13:53:08 1.14 @@ -4,7 +4,7 @@ * - Aligned memory allocator - * * Copyright(C) 2002 Michael Militzer - * 2002 Edouard Gomez + * 2002 Edouard Gomez * * This file is part of XviD, a free MPEG-4 video encoder/decoder * @@ -51,7 +51,7 @@ * exception also makes it possible to release a modified version which * carries forward this exception. * - * $Id: mem_align.c,v 1.12 2002/11/27 21:20:33 edgomez Exp $ + * $Id: mem_align.c,v 1.14 2002/12/28 13:53:08 edgomez Exp $ * ****************************************************************************/ @@ -88,7 +88,7 @@ if ((mem_ptr = (uint8_t *) malloc(size + 1)) != NULL) { /* Store (mem_ptr - "real allocated memory") in *(mem_ptr-1) */ - *mem_ptr = 0; + *mem_ptr = 1; /* Return the mem_ptr pointer */ return (void *)(mem_ptr+1);