diff options
author | Martin Storsjö <martin@martin.st> | 2011-11-07 11:46:29 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-11-10 10:51:50 +0200 |
commit | 7590061eb728f437a968989edf69fb7bf3fa67c3 (patch) | |
tree | 6b00801fbcbe02207d9d4304b8678ff9d9a9c4ca /libavformat/http.c | |
parent | 27fad11b5b0d2ae48f3ffe0a88d012bc8cdf90df (diff) | |
download | ffmpeg-7590061eb728f437a968989edf69fb7bf3fa67c3.tar.gz |
http: Remove the now unused ff_http_set_headers custom function
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/http.c')
-rw-r--r-- | libavformat/http.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index 71ada6ce30..326ed0f796 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -67,14 +67,6 @@ static const AVClass httpcontext_class = { static int http_connect(URLContext *h, const char *path, const char *hoststr, const char *auth, int *new_location); -void ff_http_set_headers(URLContext *h, const char *headers) -{ - HTTPContext *s = h->priv_data; - - av_freep(&s->headers); - s->headers = av_strdup(headers); -} - void ff_http_init_auth_state(URLContext *dest, const URLContext *src) { memcpy(&((HTTPContext*)dest->priv_data)->auth_state, |