Mercurial > libavcodec.hg
diff mem.c @ 3369:36e208be9ad6 libavcodec
spelling fixes courtesy of "Herv? W." H.O.W.aka.V+ffmpeg (at) gmail (dot) com
| author | diego |
|---|---|
| date | Fri, 30 Jun 2006 02:47:36 +0000 |
| parents | d89dcf01cae2 |
| children | e9614cf8ac92 |
line wrap: on
line diff
--- a/mem.c Thu Jun 29 11:17:50 2006 +0000 +++ b/mem.c Fri Jun 30 02:47:36 2006 +0000 @@ -49,7 +49,7 @@ long diff; #endif - /* lets disallow possible ambiguous cases */ + /* let's disallow possible ambiguous cases */ if(size > INT_MAX) return NULL; @@ -103,12 +103,12 @@ 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;
