diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-05 16:50:03 +0300 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-05 16:50:03 +0300 |
commit | f690ee715dcfb0d733affa10fc48661f60e1d5cc (patch) | |
tree | d383420d765f5a04508461485115942f84fdc305 /libavutil/common.h | |
parent | d6def91a3bcd08af9baf162577954c92cf4e8886 (diff) |
Move unaltered av_free() comments to the header file.
Originally committed as revision 8252 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r-- | libavutil/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index 89f8a01f52..ab69eafda2 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -344,6 +344,12 @@ void *av_malloc(unsigned int size); * free(ptr) and NULL is returned. */ void *av_realloc(void *ptr, unsigned int size); + +/** + * Free memory which has been allocated with av_malloc(z)() or av_realloc(). + * NOTE: ptr = NULL is explicetly allowed + * Note2: it is recommended that you use av_freep() instead + */ void av_free(void *ptr); void *av_mallocz(unsigned int size); |