Move unaltered av_malloc() comments to the header file.
authorPanagiotis Issaris <takis.issaris@uhasselt.be>
Mon, 5 Mar 2007 13:45:52 +0000 (13:45 +0000)
committerPanagiotis Issaris <takis.issaris@uhasselt.be>
Mon, 5 Mar 2007 13:45:52 +0000 (13:45 +0000)
Originally committed as revision 8250 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/common.h
libavutil/mem.c

index c5c88c1..954cb5c 100644 (file)
@@ -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);
index fb0fb63..1a5d00a 100644 (file)
    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;