diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-10-15 23:07:03 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-10-15 23:07:03 +0000 |
commit | 8a2d973dfc92011b8e9e09e471faa8b14882e1e5 (patch) | |
tree | 8f83b18ba772dbaaf55818dd7bed1a40cbca778c | |
parent | 227a388d0748aa0ea3ea11815a7375babfbea417 (diff) | |
download | ffmpeg-streaming-8a2d973dfc92011b8e9e09e471faa8b14882e1e5.zip ffmpeg-streaming-8a2d973dfc92011b8e9e09e471faa8b14882e1e5.tar.gz |
misc Doxygen spelling/grammar fixes
Originally committed as revision 10754 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/mem.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libavutil/mem.h b/libavutil/mem.h index 81b8724..0d3e7f3 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -33,14 +33,14 @@ #endif /** - * Memory allocation of size byte with alignment suitable for all + * Memory allocation of size bytes with alignment suitable for all * memory accesses (including vectors if available on the - * CPU). av_malloc(0) must return a non NULL pointer. + * CPU). av_malloc(0) must return a non-NULL pointer. */ void *av_malloc(unsigned int size); /** - * av_realloc semantics (same as glibc): if ptr is NULL and size > 0, + * av_realloc semantics (same as glibc): If ptr is NULL and size > 0, * identical to malloc(size). If size is zero, it is identical to * free(ptr) and NULL is returned. */ @@ -48,24 +48,24 @@ void *av_realloc(void *ptr, unsigned int size); /** * Free memory which has been allocated with av_malloc(z)() or av_realloc(). - * NOTE: ptr = NULL is explicetly allowed - * Note2: it is recommended that you use av_freep() instead + * NOTE: ptr = NULL is explicitly allowed. + * Note2: It is recommended that you use av_freep() instead. */ void av_free(void *ptr); void *av_mallocz(unsigned int size); /** - * Duplicates the string \p s. + * Duplicate the string \p s. * @param s String to be duplicated. * @return Pointer to a newly allocated string containing a - * copy of \p s or NULL if it cannot allocate it. + * copy of \p s or NULL if it cannot be allocated. */ char *av_strdup(const char *s); /** - * Frees memory and sets the pointer to NULL. - * @param ptr pointer to the pointer which should be freed + * Free memory and set the pointer to NULL. + * @param ptr pointer to the pointer which should be freed. */ void av_freep(void *ptr); |