From abb28d41ea8dd747eb86121781615d0722f386b3 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Sun, 10 Jun 2018 16:02:15 +0800 Subject: lavf/icecast: Replace the number by macro for bprint init Replace the number by macro for bprint init. Signed-off-by: Jun Zhao --- libavformat/icecast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat') diff --git a/libavformat/icecast.c b/libavformat/icecast.c index 02e3e38788..c93b06b553 100644 --- a/libavformat/icecast.c +++ b/libavformat/icecast.c @@ -96,7 +96,7 @@ static int icecast_open(URLContext *h, const char *uri, int flags) if (flags & AVIO_FLAG_READ) return AVERROR(ENOSYS); - av_bprint_init(&bp, 0, 1); + av_bprint_init(&bp, 0, AV_BPRINT_SIZE_AUTOMATIC); // Build header strings cat_header(&bp, "Ice-Name", s->name); -- cgit v1.2.3