diff options
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/http.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index 06b2fd6a16..26157677b1 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -49,7 +49,8 @@ typedef struct { unsigned char buffer[BUFFER_SIZE], *buf_ptr, *buf_end; int line_count; int http_code; - int64_t chunksize; /**< Used if "Transfer-Encoding: chunked" otherwise -1. */ + /* Used if "Transfer-Encoding: chunked" otherwise -1. */ + int64_t chunksize; char *content_type; char *user_agent; int64_t off, filesize, req_end_offset; @@ -59,12 +60,17 @@ typedef struct { HTTPAuthState auth_state; HTTPAuthState proxy_auth_state; char *headers; - int willclose; /**< Set if the server correctly handles Connection: close and will close the connection after feeding us the content. */ + /* Set if the server correctly handles Connection: close and will close + * the connection after feeding us the content. */ + int willclose; int seekable; /**< Control seekability, 0 = disable, 1 = enable, -1 = probe. */ int chunked_post; - int end_chunked_post; /**< A flag which indicates if the end of chunked encoding has been sent. */ - int end_header; /**< A flag which indicates we have finished to read POST reply. */ - int multiple_requests; /**< A flag which indicates if we use persistent connections. */ + /* A flag which indicates if the end of chunked encoding has been sent. */ + int end_chunked_post; + /* A flag which indicates we have finished to read POST reply. */ + int end_header; + /* A flag which indicates if we use persistent connections. */ + int multiple_requests; uint8_t *post_data; int post_datalen; int is_akamai; |