From 9c5cb112caddfa80707489c45fafadec2a1d7ce7 Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Thu, 22 Feb 2007 19:11:33 +0000 Subject: [PATCH] Doxygenize the comments for the av_mallocz_static() function. Originally committed as revision 8084 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 7e3199498b..bf9fd61175 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2908,7 +2908,12 @@ void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); void av_free_static(void); /** - * allocation of static arrays - do not use for normal allocation. + * Allocation of static arrays. + * + * @warning Do not use for normal allocation. + * + * @param[in] size The amount of memory you need in bytes. + * @return Block of memory of the requested size. */ void *av_mallocz_static(unsigned int size);