]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/icecast.c
avcodec: add RemotelyAnywhere Screen Capture decoder
[ffmpeg] / libavformat / icecast.c
index 02e3e3878861394d3dc96ac8f5c9bb9efff5c408..c93b06b553a9588bea610db80747d7af968f7650 100644 (file)
@@ -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);