mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-08 16:19:33 +00:00
spelling fixes courtesy of "Hervé W." H.O.W.aka.V+ffmpeg (at) gmail (dot) com
Originally committed as revision 5552 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1a268accb5
commit
7d77d5f639
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user