From f56a12a85f48a02880ed1d073567d2d2c3e8bddb Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Tue, 28 Jan 2003 20:28:30 +0000 Subject: Forward seeking works now. Now xine can play this url : xine http://216.127.95.21/moviefiles/kampfpilot.wmv CVS patchset: 4025 CVS date: 2003/01/28 20:28:30 --- src/input/input_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/input/input_http.c b/src/input/input_http.c index cfd91f6b3..02a9a6974 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -593,10 +593,10 @@ static off_t http_plugin_seek(input_plugin_t *this_gen, off_t offset, int origin if ((origin == SEEK_CUR) && (offset >= 0)) { for (;((int)offset) - BUFSIZE > 0; offset -= BUFSIZE) { - this->curpos += http_plugin_read (this_gen, this->seek_buf, BUFSIZE); + http_plugin_read (this_gen, this->seek_buf, BUFSIZE); } - this->curpos += http_plugin_read (this_gen, this->seek_buf, offset); + http_plugin_read (this_gen, this->seek_buf, offset); } return this->curpos; -- cgit v1.2.3