diff options
author | Josh Allmann <joshua.allmann@gmail.com> | 2010-06-08 11:48:03 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-06-08 11:48:03 +0000 |
commit | f2b9b19fad68ce42a016d3ad681a8c92bf11cbe8 (patch) | |
tree | 31e36c985fbcd739ca0b3393ef104cff4e8c23f4 /libavformat/http.h | |
parent | b995a6a84f84db79c8d40800d96911a355eb2646 (diff) | |
download | ffmpeg-f2b9b19fad68ce42a016d3ad681a8c92bf11cbe8.tar.gz |
Add support for disabling chunked transfer encoding for the http protocol
Patch by Josh Allmann, josh dot allmann at gmail
Originally committed as revision 23531 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/http.h')
-rw-r--r-- | libavformat/http.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/http.h b/libavformat/http.h index 6f0566d7d8..5cd1629a19 100644 --- a/libavformat/http.h +++ b/libavformat/http.h @@ -39,4 +39,12 @@ */ void ff_http_set_headers(URLContext *h, const char *headers); +/** + * Enables or disables chunked transfer encoding. (default is enabled) + * + * @param h URL context for this HTTP connection + * @param is_chunked 0 to disable chunking, nonzero otherwise. + */ +void ff_http_set_chunked_transfer_encoding(URLContext *h, int is_chunked); + #endif /* AVFORMAT_HTTP_H */ |