[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec mem.c,1.14,1.15

Michael Niedermayer CVS michael
Wed Jan 4 10:42:40 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv31983

Modified Files:
	mem.c 
Log Message:
av_freep() recommandition


Index: mem.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mem.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- mem.c	22 Dec 2005 01:10:08 -0000	1.14
+++ mem.c	4 Jan 2006 09:42:37 -0000	1.15
@@ -117,7 +117,11 @@
 #endif
 }
 
-/* NOTE: ptr = NULL is explicetly allowed */
+/**
+ * Free memory which has been allocated with av_malloc(z)() or av_realloc().
+ * NOTE: ptr = NULL is explicetly allowed 
+ * Note2: it is recommanded that you use av_freep() instead
+ */
 void av_free(void *ptr)
 {
     /* XXX: this test should not be needed on most libcs */





More information about the ffmpeg-cvslog mailing list