[FFmpeg-devel] [PATCH] lavu/mem: extend documentation for av_dynarray_add()
nicolas.george at normalesup.org
Sun Apr 28 00:48:45 CEST 2013
L'octidi 8 floréal, an CCXXI, Stefano Sabatini a écrit :
> I'm skipping this since I'm not sure it is a good idea to expose
> implementation details in the doxy.
The fact that the implementation is efficient is integral to the API. If it
is not said in the docs, the obvious reaction is to think that the array is
reallocated each time (because there is no additional parameter to store the
allocated size), which makes it useless when efficiency is needed.
The fact that is done at the powers of two may be considered an
implementation detail, but it also explain how the API can work without the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel