diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-10 13:52:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-10 17:01:42 +0200 |
commit | 112c970ca62de2f43019a4cc787d12a0b88d2fbc (patch) | |
tree | d8d13a7e695f4cb0ca476112f2b7647a0fcb4274 /libavutil/bprint.h | |
parent | b37ff488b8aab2fe1245f1ba3130b1d881559794 (diff) | |
download | ffmpeg-112c970ca62de2f43019a4cc787d12a0b88d2fbc.tar.gz |
avutil/bprint: add av_vbprintf()
Reviewed-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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/bprint.h b/libavutil/bprint.h index dc86f12415..bb1de25c4a 100644 --- a/libavutil/bprint.h +++ b/libavutil/bprint.h @@ -21,6 +21,8 @@ #ifndef AVUTIL_BPRINT_H #define AVUTIL_BPRINT_H +#include <stdarg.h> + #include "attributes.h" #include "avstring.h" @@ -122,6 +124,11 @@ void av_bprint_init_for_buffer(AVBPrint *buf, char *buffer, unsigned size); void av_bprintf(AVBPrint *buf, const char *fmt, ...) av_printf_format(2, 3); /** + * Append a formatted string to a print buffer. + */ +void av_vbprintf(AVBPrint *buf, const char *fmt, va_list vl_arg); + +/** * Append char c n times to a print buffer. */ void av_bprint_chars(AVBPrint *buf, char c, unsigned n); |