Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-07-30 21:45:17 +0400
committerStefano Sabatini <stefasab@gmail.com>2012-07-31 15:15:43 +0400
commita7c3720e879e61252c4f140aa2ebd35a34cd4dbe (patch)
tree7760f68bf891ddd7601f9f4d1d9ad7ed225c1b30 /libavutil/bprint.h
parent00ddf620783194f46fc0d5edc286e48a73a40998 (diff)
lavu/bprint: readd documentation for 0 and 1 av_bprint_init() special values
The documentation was erroneously removed in 7cf9aadd.
Diffstat (limited to 'libavutil/bprint.h')
-rw-r--r--libavutil/bprint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/bprint.h b/libavutil/bprint.h
index 95c47fd545..2bef18db23 100644
--- a/libavutil/bprint.h
+++ b/libavutil/bprint.h
@@ -95,6 +95,8 @@ typedef struct AVBPrint {
* @param buf buffer to init
* @param size_init initial size (including the final 0)
* @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
* reallocated as needed up to that limit; -1 is converted to
* UINT_MAX, the largest limit possible.