From 8695f5d8c99952a89f59b314c58a5e0bbd8a6e6e Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 31 Jan 2003 14:06:03 +0000 Subject: - MAX_PREVIEW_SIZE = 4096 - new fb driver with zero copy CVS patchset: 4058 CVS date: 2003/01/31 14:06:03 --- src/input/input_http.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/input/input_http.c') diff --git a/src/input/input_http.c b/src/input/input_http.c index 102dd5e96..9b21dde3d 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -45,7 +45,6 @@ #define LOG */ -#define PREVIEW_SIZE 2200 #define BUFSIZE 1024 #define DEFAULT_HTTP_PORT 80 @@ -82,7 +81,7 @@ typedef struct { char *proxyhost; int proxyport; - char preview[PREVIEW_SIZE]; + char preview[MAX_PREVIEW_SIZE]; off_t preview_size; off_t preview_pos; @@ -888,7 +887,7 @@ static input_plugin_t *open_plugin (input_class_t *cls_gen, xine_stream_t *strea */ this->preview_size = http_plugin_read (&this->input_plugin, this->preview, - PREVIEW_SIZE); + MAX_PREVIEW_SIZE); this->preview_pos = 0; this->curpos = 0; -- cgit v1.2.3