Commit 9fee86f4 authored by diego's avatar diego

spelling fixes courtesy of "Hervé W." H.O.W.aka.V+ffmpeg (at) gmail (dot) com


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5552 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d9cb28cd
...@@ -49,7 +49,7 @@ void *av_malloc(unsigned int size) ...@@ -49,7 +49,7 @@ void *av_malloc(unsigned int size)
long diff; long diff;
#endif #endif
/* lets disallow possible ambiguous cases */ /* let's disallow possible ambiguous cases */
if(size > INT_MAX) if(size > INT_MAX)
return NULL; return NULL;
...@@ -103,12 +103,12 @@ void *av_realloc(void *ptr, unsigned int size) ...@@ -103,12 +103,12 @@ void *av_realloc(void *ptr, unsigned int size)
int diff; int diff;
#endif #endif
/* lets disallow possible ambiguous cases */ /* let's disallow possible ambiguous cases */
if(size > INT_MAX) if(size > INT_MAX)
return NULL; return NULL;
#ifdef MEMALIGN_HACK #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); if(!ptr) return av_malloc(size);
diff= ((char*)ptr)[-1]; diff= ((char*)ptr)[-1];
return realloc(ptr - diff, size + diff) + diff; return realloc(ptr - diff, size + diff) + diff;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment