summaryrefslogtreecommitdiff
path: root/libs/ffvpx/libavutil/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ffvpx/libavutil/log.c')
-rw-r--r--libs/ffvpx/libavutil/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ffvpx/libavutil/log.c b/libs/ffvpx/libavutil/log.c
index 9b7d48487..93a156b8e 100644
--- a/libs/ffvpx/libavutil/log.c
+++ b/libs/ffvpx/libavutil/log.c
@@ -247,9 +247,9 @@ static void format_line(void *avcl, int level, const char *fmt, va_list vl,
AVBPrint part[4], int *print_prefix, int type[2])
{
AVClass* avc = avcl ? *(AVClass **) avcl : NULL;
- av_bprint_init(part+0, 0, 1);
- av_bprint_init(part+1, 0, 1);
- av_bprint_init(part+2, 0, 1);
+ av_bprint_init(part+0, 0, AV_BPRINT_SIZE_AUTOMATIC);
+ av_bprint_init(part+1, 0, AV_BPRINT_SIZE_AUTOMATIC);
+ av_bprint_init(part+2, 0, AV_BPRINT_SIZE_AUTOMATIC);
av_bprint_init(part+3, 0, 65536);
if(type) type[0] = type[1] = AV_CLASS_CATEGORY_NA + 16;