[FFmpeg-cvslog] lavu/bprint: readd documentation for 0 and 1 av_bprint_init() special values
Stefano Sabatini
git at videolan.org
Tue Jul 31 13:32:42 CEST 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Mon Jul 30 19:45:17 2012 +0200| [a7c3720e879e61252c4f140aa2ebd35a34cd4dbe] | committer: Stefano Sabatini
lavu/bprint: readd documentation for 0 and 1 av_bprint_init() special values
The documentation was erroneously removed in 7cf9aadd.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a7c3720e879e61252c4f140aa2ebd35a34cd4dbe
---
libavutil/bprint.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavutil/bprint.h b/libavutil/bprint.h
index 95c47fd..2bef18d 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.
More information about the ffmpeg-cvslog
mailing list