aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-06-10 16:02:15 +0800
committerJun Zhao <jun.zhao@intel.com>2018-06-17 09:59:33 +0800
commitabb28d41ea8dd747eb86121781615d0722f386b3 (patch)
tree7cc63b6f5924a0a14bb630e021cd23996664aea9 /libavformat
parent483532bc72a242e88e253d4df2a7cf06cfeb38f3 (diff)
downloadffmpeg-abb28d41ea8dd747eb86121781615d0722f386b3.tar.gz
lavf/icecast: Replace the number by macro for bprint init
Replace the number by macro for bprint init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/icecast.c2
1 files changed, 1 insertions, 1 deletions
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);