summaryrefslogtreecommitdiff
path: root/libavformat/http.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-06-20 23:59:15 +0300
committerMartin Storsjö <martin@martin.st>2011-11-05 16:54:39 +0200
commit18ae3626405a8b3d6dbb7e5b848d354cd7bf9a47 (patch)
treeace2e6abbe5cbdc429da760566220b290aa79a10 /libavformat/http.c
parentd450cc4f4a7c4b072d6abc7af659347393e35314 (diff)
http: Remove the custom function for disabling chunked posts
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/http.c')
-rw-r--r--libavformat/http.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/http.c b/libavformat/http.c
index 0030bc7dc1..243a4d78e3 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -78,11 +78,6 @@ void ff_http_set_headers(URLContext *h, const char *headers)
av_strlcpy(s->headers, headers, sizeof(s->headers));
}
-void ff_http_set_chunked_transfer_encoding(URLContext *h, int is_chunked)
-{
- ((HTTPContext*)h->priv_data)->chunksize = is_chunked ? 0 : -1;
-}
-
void ff_http_init_auth_state(URLContext *dest, const URLContext *src)
{
memcpy(&((HTTPContext*)dest->priv_data)->auth_state,