[FFmpeg-cvslog] mem: Improve documentation wording and spelling

Alexander Strasser eclipse7 at gmx.net
Fri Sep 6 23:27:27 CEST 2013


On 2013-09-06 12:21 +0200, Clément Bœsch wrote:
> On Fri, Sep 06, 2013 at 12:16:46PM +0200, Diego Biurrun wrote:
> [...]
> >   * Allocate or reallocate a block of memory.
> >   * If ptr is NULL and size > 0, allocate a new block. If
> >   * size is zero, free the memory block pointed to by ptr.
> > - * @note Pointers provided by av_malloc family of functions cannot be
> > - * passed to av_realloc().
> [...]
> > + * @note av_realloc() is not guaranteed to maintain the alignment of
> > + *       pointers originating from the av_malloc() family of functions.
> >   * @see av_fast_realloc()
> >   */
> 
> OK, much better, it now makes sense. The @note could be made @warning
> though...

  Well, maybe not at all. This seems to be what is happening on
most implementations, but I think it is not conform to what the
standards are saying or not saying. Don't know what unix standards
say about it.

  Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20130906/745bc7c8/attachment.asc>


More information about the ffmpeg-cvslog mailing list