From 7d77d5f6392cf56f0b7b2109e201d6924163bf60 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 30 Jun 2006 02:47:36 +0000 Subject: [PATCH] =?UTF-8?q?spelling=20fixes=20courtesy=20of=20"Herv=C3=A9?= =?UTF-8?q?=20W."=20H.O.W.aka.V+ffmpeg=20(at)=20gmail=20(dot)=20com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 5552 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/mem.c b/libavcodec/mem.c index 24d75e9483..b7a2ba6921 100644 --- a/libavcodec/mem.c +++ b/libavcodec/mem.c @@ -49,7 +49,7 @@ void *av_malloc(unsigned int size) long diff; #endif - /* lets disallow possible ambiguous cases */ + /* let's disallow possible ambiguous cases */ if(size > INT_MAX) return NULL; @@ -103,12 +103,12 @@ void *av_realloc(void *ptr, unsigned int size) int diff; #endif - /* lets disallow possible ambiguous cases */ + /* let's disallow possible ambiguous cases */ if(size > INT_MAX) return NULL; #ifdef MEMALIGN_HACK - //FIXME this isnt aligned correctly though it probably isnt needed + //FIXME this isn't aligned correctly, though it probably isn't needed if(!ptr) return av_malloc(size); diff= ((char*)ptr)[-1]; return realloc(ptr - diff, size + diff) + diff;