[SCM] libav/experimental: Move unaltered av_freep() comments to the header file.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:57:21 UTC 2013


The following commit has been merged in the experimental branch:
commit d7f654692a14395af7b52c56dd7b35849fc44c5d
Author: Panagiotis Issaris <takis.issaris at uhasselt.be>
Date:   Mon Mar 5 13:51:03 2007 +0000

    Move unaltered av_freep() comments to the header file.
    
    Originally committed as revision 8253 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavutil/common.h b/libavutil/common.h
index ab69eaf..60885aa 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -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 */
diff --git a/libavutil/mem.c b/libavutil/mem.c
index 6a13d0e..a91ac4a 100644
--- a/libavutil/mem.c
+++ b/libavutil/mem.c
@@ -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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list