summaryrefslogtreecommitdiff
path: root/libavformat/icecast.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-13 01:26:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-13 01:27:25 +0200
commit25a418082597408fcf4b6c9834d371ba46afc5a2 (patch)
treeb5d3c3495eccb9cf0da19fe48bb024f8a07f264b /libavformat/icecast.c
parent094b3ce8356a33f67e705838555be06f5cda383e (diff)
parent76c70e33d2244a688832f03b53862eb5d9ad3b01 (diff)
downloadffmpeg-25a418082597408fcf4b6c9834d371ba46afc5a2.tar.gz
Merge commit '76c70e33d2244a688832f03b53862eb5d9ad3b01'
* commit '76c70e33d2244a688832f03b53862eb5d9ad3b01': icecast: Do not use chunked post Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/icecast.c')
-rw-r--r--libavformat/icecast.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/icecast.c b/libavformat/icecast.c
index 56a2976f06..7d60e44a4a 100644
--- a/libavformat/icecast.c
+++ b/libavformat/icecast.c
@@ -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, "auth_type", "basic", 0);
av_dict_set(&opt_dict, "headers", headers, 0);
+ av_dict_set(&opt_dict, "chunked_post", "0", 0);
if (NOT_EMPTY(s->content_type))
av_dict_set(&opt_dict, "content_type", s->content_type, 0);
if (NOT_EMPTY(s->user_agent))