Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
7bdd2ff6
Commit
7bdd2ff6
authored
Jul 22, 2014
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http: Use a constant for the supported header size
parent
78670fbf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
http.c
libavformat/http.c
+1
-1
http.h
libavformat/http.h
+2
-0
No files found.
libavformat/http.c
View file @
7bdd2ff6
...
...
@@ -529,7 +529,7 @@ static int http_connect(URLContext *h, const char *path, const char *local_path,
{
HTTPContext
*
s
=
h
->
priv_data
;
int
post
,
err
;
char
headers
[
1024
]
=
""
;
char
headers
[
HTTP_HEADERS_SIZE
]
=
""
;
char
*
authstr
=
NULL
,
*
proxyauthstr
=
NULL
;
int64_t
off
=
s
->
off
;
int
len
=
0
;
...
...
libavformat/http.h
View file @
7bdd2ff6
...
...
@@ -24,6 +24,8 @@
#include "url.h"
#define HTTP_HEADERS_SIZE 1024
/**
* 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