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

Clément Bœsch u at pkh.me
Fri Sep 6 12:21:25 CEST 2013


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...

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20130906/e924fa91/attachment.asc>


More information about the ffmpeg-cvslog mailing list