[FFmpeg-devel] [PATCH] Doxygenate libavutil/mem.h
Måns Rullgård
mans
Fri Sep 21 15:02:29 CEST 2007
Rich Felker wrote:
> On Fri, Sep 21, 2007 at 11:33:14AM +0200, Diego Biurrun wrote:
>> > + * Allocates or reallocates a block of memory.
>> > + * Same semantics as glibc realloc: if \p ptr is NULL and \p size > 0,
>> > + * identical to malloc(size). If \p size is zero, it is identical to
>> > * free(ptr) and NULL is returned.
>
> It would be better to cite a well-known standard, ANSI/ISO C, rather
> than glibc.... Realloc semantics are not glibc-specific.
>
>> What is supposed to be "identical to malloc(size)"?
>
> The meaning was clear to me: the function call.
Rich, lately I've found myself agreeing with most of your opinions,
and quite frankly, that scares me. Either you've mellowed considerably,
something I thought impossible, or I've changed in the other direction,
which certainly doesn't strike me as desirable. Could an outsider please
shed some light on this situation?
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list