diff options
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 */ |