diff options
author | Mike Melanson <mike@multimedia.cx> | 2003-01-17 02:53:51 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2003-01-17 02:53:51 +0000 |
commit | f9fc0813310f826356de219c3a8b83396dd21ff8 (patch) | |
tree | 21e2c5dc46902a7ebeddb4082759359a2857c477 | |
parent | 71a38bc1b23392caaca7169223a9b22205714c83 (diff) | |
download | xine-lib-f9fc0813310f826356de219c3a8b83396dd21ff8.tar.gz xine-lib-f9fc0813310f826356de219c3a8b83396dd21ff8.tar.bz2 |
fix seeking
CVS patchset: 3940
CVS date: 2003/01/17 02:53:51
-rw-r--r-- | src/demuxers/demux_nsf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_nsf.c b/src/demuxers/demux_nsf.c index 83fb843bb..c65060739 100644 --- a/src/demuxers/demux_nsf.c +++ b/src/demuxers/demux_nsf.c @@ -28,7 +28,7 @@ * For more information regarding the NSF format, visit: * http://www.tripoint.org/kevtris/nes/nsfspec.txt * - * $Id: demux_nsf.c,v 1.6 2003/01/10 21:11:05 miguelfreitas Exp $ + * $Id: demux_nsf.c,v 1.7 2003/01/17 02:53:51 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -269,7 +269,7 @@ static int demux_nsf_seek (demux_plugin_t *this_gen, this->current_pts = 0; this->new_song = 1; } else { - this->current_song = start_pos * this->total_songs / this->filesize + 1; + this->current_song = start_pos + 1; this->new_song = 1; this->current_pts = 0; xine_demux_flush_engine(this->stream); |