From: Panagiotis Issaris Date: Mon, 5 Mar 2007 13:51:03 +0000 (+0000) Subject: Move unaltered av_freep() comments to the header file. X-Git-Tag: v0.5~9795 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7f654692a14395af7b52c56dd7b35849fc44c5d;p=platform%2Fupstream%2Flibav.git 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;