21 #ifndef AVUTIL_BPRINT_H
22 #define AVUTIL_BPRINT_H
34 #define FF_PAD_STRUCTURE(name, size, ...) \
35 struct ff_pad_helper_##name { __VA_ARGS__ }; \
36 typedef struct name { \
38 char reserved_padding[size - sizeof(struct ff_pad_helper_##name)]; \
87 char reserved_internal_buffer[1];
94 #define AV_BPRINT_SIZE_UNLIMITED ((
unsigned)-1)
95 #define AV_BPRINT_SIZE_AUTOMATIC 1
96 #define AV_BPRINT_SIZE_COUNT_ONLY 0
132 void av_vbprintf(AVBPrint *buf, const
char *fmt, va_list vl_arg);
172 unsigned char **
mem,
unsigned *actual_size);
187 return buf->len < buf->size;