Commit abb28d41 authored by Jun Zhao's avatar Jun Zhao Committed by Jun Zhao

lavf/icecast: Replace the number by macro for bprint init

Replace the number by macro for bprint init.
Signed-off-by: 's avatarJun Zhao <mypopydev@gmail.com>
parent 483532bc
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment