lavu/bprint: readd documentation for 0 and 1 av_bprint_init() special values

The documentation was erroneously removed in 7cf9aadd.
This commit is contained in:
Stefano Sabatini 2012-07-30 19:45:17 +02:00
parent 00ddf62078
commit a7c3720e87
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ typedef struct AVBPrint {
* @param buf buffer to init * @param buf buffer to init
* @param size_init initial size (including the final 0) * @param size_init initial size (including the final 0)
* @param size_max maximum size; * @param size_max maximum size;
* 0 means do not write anything, just count the length;
* 1 is replaced by the maximum value for automatic storage;
* any large value means that the internal buffer will be * any large value means that the internal buffer will be
* reallocated as needed up to that limit; -1 is converted to * reallocated as needed up to that limit; -1 is converted to
* UINT_MAX, the largest limit possible. * UINT_MAX, the largest limit possible.