From: Panagiotis Issaris Date: Mon, 5 Mar 2007 13:45:52 +0000 (+0000) Subject: Move unaltered av_malloc() comments to the header file. X-Git-Tag: v0.5~9798 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a07029916629a7408d68c7a73fc989bf334ee1e;p=platform%2Fupstream%2Flibav.git Move unaltered av_malloc() comments to the header file. Originally committed as revision 8250 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavutil/common.h b/libavutil/common.h index c5c88c1..954cb5c 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -330,6 +330,12 @@ tend= read_time();\ #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); diff --git a/libavutil/mem.c b/libavutil/mem.c index fb0fb63..1a5d00a 100644 --- a/libavutil/mem.c +++ b/libavutil/mem.c @@ -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;