[FFmpeg-devel] [PATCH] lavu/bprint: extend/clarify documentation for av_bprint_init() size_max value
stefasab at gmail.com
Sat Jul 28 11:17:47 CEST 2012
On date Thursday 2012-07-26 23:38:48 +0200, Nicolas George encoded:
> Le nonidi 9 thermidor, an CCXX, Stefano Sabatini a écrit :
> > - * 1 is replaced by the maximum value for automatic storage
> > + * 1 is replaced by the maximum value for automatic storage;
> > + * -1 means that the internal buffer will be reallocated as needed.
> > + * Check also AV_BPRINT_SIZE_* macros.
> I am not sure about the -1 explanation: it looks like it means -1 is a
> special value, and that the values listed here are the only acceptable ones,
> which is not true.
> What about this:
> any large value means that the internal buffer will be
> reallocated as needed up to that limit; -1 is converted to
> UINT_MAX, the largest limit possible.
> The rest is fine, thanks.
Applied this variant, thanks.
FFmpeg = Fierce Furious Moronic Perennial Enlightened Ghost
More information about the ffmpeg-devel