hi,

attached patch fix input stream detection by Icecast that do not understand chunked http input.

--
________________________________________
Maksym Veremeyenko

>From e733ea6b31d341d2850070e378c2c841ebec0e35 Mon Sep 17 00:00:00 2001
From: Maksym Veremeyenko <ve...@m1.tv>
Date: Wed, 20 Aug 2014 12:15:14 +0300
Subject: [PATCH] Disable chunked output for Icecast

---
 libavformat/icecast.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/icecast.c b/libavformat/icecast.c
index 56a2976..5f6b83d 100644
--- a/libavformat/icecast.c
+++ b/libavformat/icecast.c
@@ -118,6 +118,7 @@ static int icecast_open(URLContext *h, const char *uri, int flags)
         av_dict_set(&opt_dict, "content_type", s->content_type, 0);
     if (NOT_EMPTY(s->user_agent))
         av_dict_set(&opt_dict, "user_agent", s->user_agent, 0);
+    av_dict_set(&opt_dict, "chunked_post", "0", 0);
 
     // Parse URI
     av_url_split(NULL, 0, auth, sizeof(auth), host, sizeof(host),
-- 
1.7.7.6

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to