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

libavutil/common.h
libavutil/mem.c

index ab69eaf..60885aa 100644 (file)
@@ -354,6 +354,11 @@ void av_free(void *ptr);
 
 void *av_mallocz(unsigned int size);
 char *av_strdup(const char *s);
+
+/**
+ * Frees memory and sets the pointer to NULL.
+ * @param arg pointer to the pointer which should be freed
+ */
 void av_freep(void *ptr);
 
 #endif /* COMMON_H */
index 6a13d0e..a91ac4a 100644 (file)
@@ -122,10 +122,6 @@ void av_free(void *ptr)
 #endif
 }
 
-/**
- * Frees memory and sets the pointer to NULL.
- * @param arg pointer to the pointer which should be freed
- */
 void av_freep(void *arg)
 {
     void **ptr= (void**)arg;