Mercurial > libavutil.hg
changeset 278:ca3eb39d3aa2 libavutil
Move unaltered av_malloc() comments to the header file.
author | takis |
---|---|
date | Mon, 05 Mar 2007 13:45:52 +0000 |
parents | d25ab70c93c4 |
children | 4964532166e6 |
files | common.h mem.c |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/common.h Sun Mar 04 23:26:53 2007 +0000 +++ b/common.h Mon Mar 05 13:45:52 2007 +0000 @@ -330,6 +330,12 @@ #endif /* memory */ + +/** + * Memory allocation of size byte with alignment suitable for all + * memory accesses (including vectors if available on the + * CPU). av_malloc(0) must return a non NULL pointer. + */ void *av_malloc(unsigned int size); void *av_realloc(void *ptr, unsigned int size); void av_free(void *ptr);
--- a/mem.c Sun Mar 04 23:26:53 2007 +0000 +++ b/mem.c Mon Mar 05 13:45:52 2007 +0000 @@ -39,11 +39,6 @@ memory allocator. You do not need to suppress this file because the linker will do it automatically */ -/** - * Memory allocation of size byte with alignment suitable for all - * memory accesses (including vectors if available on the - * CPU). av_malloc(0) must return a non NULL pointer. - */ void *av_malloc(unsigned int size) { void *ptr;