[Ffmpeg-devel] [PATCH 5/9] Doxygenize av_realloc_static comments
Michael Niedermayer
michaelni
Thu Feb 22 13:49:52 CET 2007
Hi
On Thu, Feb 22, 2007 at 03:43:49AM +0100, Panagiotis Issaris wrote:
> Hi,
>
> The attached patch "doxygenizes" the comments for the
> av_realloc_static() function.
>
> avcodec.h | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> With friendly regards,
> Takis
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index f143282..7117082 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -2893,7 +2893,11 @@ void av_free_static(void);
> void *av_mallocz_static(unsigned int size);
>
> /**
> - * same as above, but does realloc
> + * Same as av_mallocz_static(), but does a realloc.
> + *
> + * @param[in] ptr The block of memory to reallocate.
> + * @param[in] size The requested size.
> + * @return Block of memory of requested size.
> */
> void *av_realloc_static(void *ptr, unsigned int size);
av_*alloc_static are internal functions they should not be in avcodec.h
and should not have an av_ prefix
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070222/9ce06e8d/attachment.pgp>
More information about the ffmpeg-devel
mailing list