diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2013-08-23 23:21:50 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-30 22:36:38 +0200 |
commit | 0b46d6f3efa7c647a42d3e77d09c274f611b752b (patch) | |
tree | e97f15bf84f810d8e79777d8ce81b9e6268e0aca /libavutil/bprint.h | |
parent | 6e1b1a27a4034c578018d5042b3c8228278c4cd6 (diff) | |
download | ffmpeg-0b46d6f3efa7c647a42d3e77d09c274f611b752b.tar.gz |
lavu/bprint: add append buffer function
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Reveiwed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/bprint.h')
-rw-r--r-- | libavutil/bprint.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavutil/bprint.h b/libavutil/bprint.h index bb1de25c4a..839ec1ec0d 100644 --- a/libavutil/bprint.h +++ b/libavutil/bprint.h @@ -133,6 +133,15 @@ void av_vbprintf(AVBPrint *buf, const char *fmt, va_list vl_arg); */ void av_bprint_chars(AVBPrint *buf, char c, unsigned n); +/** + * Append data to a print buffer. + * + * param buf bprint buffer to use + * param data pointer to data + * param size size of data + */ +void av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size); + struct tm; /** * Append a formatted date and time to a print buffer. |