diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-01-28 20:28:30 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-01-28 20:28:30 +0000 |
commit | f56a12a85f48a02880ed1d073567d2d2c3e8bddb (patch) | |
tree | 292e300aebff620e4fe4d8ca2fbbb95018bc5355 /src/input | |
parent | 373741742c6cb5f16117d753ec47cd2e944ee25b (diff) | |
download | xine-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/input')
-rw-r--r-- | src/input/input_http.c | 4 |
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; |