summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2003-01-28 20:28:30 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2003-01-28 20:28:30 +0000
commitf56a12a85f48a02880ed1d073567d2d2c3e8bddb (patch)
tree292e300aebff620e4fe4d8ca2fbbb95018bc5355 /src
parent373741742c6cb5f16117d753ec47cd2e944ee25b (diff)
downloadxine-lib-f56a12a85f48a02880ed1d073567d2d2c3e8bddb.tar.gz
xine-lib-f56a12a85f48a02880ed1d073567d2d2c3e8bddb.tar.bz2
Forward seeking works now.xine-1-beta3-release1-beta3
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
Diffstat (limited to 'src')
-rw-r--r--src/input/input_http.c4
1 files changed, 2 insertions, 2 deletions
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;