diff options
-rw-r--r-- | libavformat/icecast.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/icecast.c b/libavformat/icecast.c index 155396fcc4..1dc08ab365 100644 --- a/libavformat/icecast.c +++ b/libavformat/icecast.c @@ -127,6 +127,7 @@ static int icecast_open(URLContext *h, const char *uri, int flags) av_dict_set(&opt_dict, "auth_type", "basic", 0); av_dict_set(&opt_dict, "headers", headers, 0); av_dict_set(&opt_dict, "chunked_post", "0", 0); + av_dict_set(&opt_dict, "send_expect_100", s->legacy_icecast ? "0" : "1", 0); if (NOT_EMPTY(s->content_type)) av_dict_set(&opt_dict, "content_type", s->content_type, 0); if (NOT_EMPTY(s->user_agent)) |