History

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

The documentation was erroneously removed in 7cf9aadd.

Stefano Sabatini committed 14 years ago

Commit a7c37201 parent 00ddf621 file · +2 −0Browse files

Unified · Split

libavutil/bprint.h+2−0
@@ -95,6 +95,8 @@ typedef struct AVBPrint { · 94 unmodified lines
9595 * @param buf buffer to init
9696 * @param size_init initial size (including the final 0)
9797 * @param size_max maximum size;
98+ * 0 means do not write anything, just count the length;
99+ * 1 is replaced by the maximum value for automatic storage;
98100 * any large value means that the internal buffer will be
99101 * reallocated as needed up to that limit; -1 is converted to
100102 * UINT_MAX, the largest limit possible.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t