mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
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>
This commit is contained in:
parent
483532bc72
commit
abb28d41ea
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user