summaryrefslogtreecommitdiff
path: root/libavformat/http.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-07 11:46:29 +0200
committerMartin Storsjö <martin@martin.st>2011-11-10 10:51:50 +0200
commit7590061eb728f437a968989edf69fb7bf3fa67c3 (patch)
tree6b00801fbcbe02207d9d4304b8678ff9d9a9c4ca /libavformat/http.h
parent27fad11b5b0d2ae48f3ffe0a88d012bc8cdf90df (diff)
http: Remove the now unused ff_http_set_headers custom function
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/http.h')
-rw-r--r--libavformat/http.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/libavformat/http.h b/libavformat/http.h
index bd63a190dc..8dfb192364 100644
--- a/libavformat/http.h
+++ b/libavformat/http.h
@@ -25,24 +25,6 @@
#include "url.h"
/**
- * Set custom HTTP headers.
- * A trailing CRLF ("\r\n") is required for custom headers.
- * Passing in an empty header string ("\0") will reset to defaults.
- *
- * The following headers can be overriden by custom values,
- * otherwise they will be set to their defaults.
- * -User-Agent
- * -Accept
- * -Range
- * -Host
- * -Connection
- *
- * @param h URL context for this HTTP connection
- * @param headers the custom headers to set
- */
-void ff_http_set_headers(URLContext *h, const char *headers);
-
-/**
* Initialize the authentication state based on another HTTP URLContext.
* This can be used to pre-initialize the authentication parameters if
* they are known beforehand, to avoid having to do an initial failing