diff common.h @ 278:ca3eb39d3aa2 libavutil

Move unaltered av_malloc() comments to the header file.
author takis
date Mon, 05 Mar 2007 13:45:52 +0000
parents 3c7dd1a3cfe8
children 4964532166e6
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);