Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
7590061e
Commit
7590061e
authored
Nov 07, 2011
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http: Remove the now unused ff_http_set_headers custom function
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
27fad11b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
http.c
libavformat/http.c
+0
-8
http.h
libavformat/http.h
+0
-18
No files found.
libavformat/http.c
View file @
7590061e
...
...
@@ -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
,
...
...
libavformat/http.h
View file @
7590061e
...
...
@@ -24,24 +24,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment