summaryrefslogtreecommitdiff
path: root/libavcodec/mem.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-06-30 02:47:36 +0000
committerDiego Biurrun <diego@biurrun.de>2006-06-30 02:47:36 +0000
commit7d77d5f6392cf56f0b7b2109e201d6924163bf60 (patch)
tree137020bb6a735828a10f417fa4b758fc1eefa3bf /libavcodec/mem.c
parent1a268accb58b7cdcd3a309161fe6a0be2aa3c2a8 (diff)
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
Diffstat (limited to 'libavcodec/mem.c')
-rw-r--r--libavcodec/mem.c6
1 files 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;