mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit 'e10028431d5cd90db7b2a4b0d16721bb1a6d75e3' into release/2.4
* commit 'e10028431d5cd90db7b2a4b0d16721bb1a6d75e3': icecast: Do not use chunked post Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
d04bfdf0f7
|
@ -114,6 +114,7 @@ static int icecast_open(URLContext *h, const char *uri, int flags)
|
||||||
av_dict_set(&opt_dict, "method", s->legacy_icecast ? "SOURCE" : "PUT", 0);
|
av_dict_set(&opt_dict, "method", s->legacy_icecast ? "SOURCE" : "PUT", 0);
|
||||||
av_dict_set(&opt_dict, "auth_type", "basic", 0);
|
av_dict_set(&opt_dict, "auth_type", "basic", 0);
|
||||||
av_dict_set(&opt_dict, "headers", headers, 0);
|
av_dict_set(&opt_dict, "headers", headers, 0);
|
||||||
|
av_dict_set(&opt_dict, "chunked_post", "0", 0);
|
||||||
if (NOT_EMPTY(s->content_type))
|
if (NOT_EMPTY(s->content_type))
|
||||||
av_dict_set(&opt_dict, "content_type", s->content_type, 0);
|
av_dict_set(&opt_dict, "content_type", s->content_type, 0);
|
||||||
if (NOT_EMPTY(s->user_agent))
|
if (NOT_EMPTY(s->user_agent))
|
||||||
|
|
Loading…
Reference in New Issue