comparison http.h @ 6199:fa244b4fe683 libavformat

Fix grammar errors in documentation
author mru
date Wed, 30 Jun 2010 15:38:06 +0000
parents 85710c0ef275
children
comparison
equal deleted inserted replaced
6198:8551432b011a 6199:fa244b4fe683
23 #define AVFORMAT_HTTP_H 23 #define AVFORMAT_HTTP_H
24 24
25 #include "avio.h" 25 #include "avio.h"
26 26
27 /** 27 /**
28 * Sets custom HTTP headers. 28 * Set custom HTTP headers.
29 * A trailing CRLF ("\r\n") is required for custom headers. 29 * A trailing CRLF ("\r\n") is required for custom headers.
30 * Passing in an empty header string ("\0") will reset to defaults. 30 * Passing in an empty header string ("\0") will reset to defaults.
31 * 31 *
32 * The following headers can be overriden by custom values, 32 * The following headers can be overriden by custom values,
33 * otherwise they will be set to their defaults. 33 * otherwise they will be set to their defaults.
41 * @param headers the custom headers to set 41 * @param headers the custom headers to set
42 */ 42 */
43 void ff_http_set_headers(URLContext *h, const char *headers); 43 void ff_http_set_headers(URLContext *h, const char *headers);
44 44
45 /** 45 /**
46 * Enables or disables chunked transfer encoding. (default is enabled) 46 * Enable or disable chunked transfer encoding. (default is enabled)
47 * 47 *
48 * @param h URL context for this HTTP connection 48 * @param h URL context for this HTTP connection
49 * @param is_chunked 0 to disable chunking, nonzero otherwise. 49 * @param is_chunked 0 to disable chunking, nonzero otherwise.
50 */ 50 */
51 void ff_http_set_chunked_transfer_encoding(URLContext *h, int is_chunked); 51 void ff_http_set_chunked_transfer_encoding(URLContext *h, int is_chunked);