diff options
author | Duncan Salerno <duncan.salerno@gmail.com> | 2012-09-22 21:17:36 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-23 02:35:42 +0200 |
commit | 0a8cc1179a61f586a365b684470239cfcfd70ab2 (patch) | |
tree | 64f2be2d5ec7926ed2ba033cdc7aa54bb3705b77 /libavformat/http.c | |
parent | 641c0eea0b8deef08907e4dddeb8416f741edad6 (diff) | |
download | ffmpeg-0a8cc1179a61f586a365b684470239cfcfd70ab2.tar.gz |
http: larger buffer for long URIs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/http.c')
-rw-r--r-- | libavformat/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index 376ff9efd9..85ed7a5c81 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -33,7 +33,7 @@ only a subset of it. */ /* used for protocol handling */ -#define BUFFER_SIZE 1024 +#define BUFFER_SIZE 4096 #define MAX_REDIRECTS 8 typedef struct { @@ -380,7 +380,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[4096] = ""; char *authstr = NULL, *proxyauthstr = NULL; int64_t off = s->off; int len = 0; |