diff options
Diffstat (limited to 'stream/stream_vcd.c')
-rw-r--r-- | stream/stream_vcd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/stream_vcd.c b/stream/stream_vcd.c index f1c36545bf..6ec8453536 100644 --- a/stream/stream_vcd.c +++ b/stream/stream_vcd.c @@ -67,8 +67,7 @@ static int fill_buffer(stream_t *s, char* buffer, int max_len){ } static int seek(stream_t *s,int64_t newpos) { - s->pos = newpos; - vcd_set_msf(s->priv,s->pos/VCD_SECTOR_DATA); + vcd_set_msf(s->priv,newpos/VCD_SECTOR_DATA); return 1; } |