[Ffmpeg-cvslog] r8250 - in trunk/libavutil: common.h mem.c

takis subversion
Mon Mar 5 14:45:52 CET 2007


Author: takis
Date: Mon Mar  5 14:45:52 2007
New Revision: 8250

Modified:
   trunk/libavutil/common.h
   trunk/libavutil/mem.c

Log:
Move unaltered av_realloc() comments to the header file.


Modified: trunk/libavutil/common.h
==============================================================================
--- trunk/libavutil/common.h	(original)
+++ trunk/libavutil/common.h	Mon Mar  5 14:45:52 2007
@@ -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);

Modified: trunk/libavutil/mem.c
==============================================================================
--- trunk/libavutil/mem.c	(original)
+++ trunk/libavutil/mem.c	Mon Mar  5 14:45:52 2007
@@ -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;




More information about the ffmpeg-cvslog mailing list