]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/http.c
avcodec/mpc7: Don't pretend initializing static VLC tables can fail
[ffmpeg] / libavformat / http.c
index 20545ed1f89dcb92efc58beac5606279aeecac1a..6c39da1a8b8ab5bcf07d2cb58ef3969181ec80ed 100644 (file)
@@ -46,7 +46,7 @@
 /* The IO buffer size is unrelated to the max URL size in itself, but needs
  * to be large enough to fit the full request headers (including long
  * path names). */
-#define BUFFER_SIZE   MAX_URL_SIZE
+#define BUFFER_SIZE   (MAX_URL_SIZE + HTTP_HEADERS_SIZE)
 #define MAX_REDIRECTS 8
 #define HTTP_SINGLE   1
 #define HTTP_MUTLI    2