summaryrefslogtreecommitdiffstats
path: root/stream/vcd_read_fbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'stream/vcd_read_fbsd.h')
-rw-r--r--stream/vcd_read_fbsd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/vcd_read_fbsd.h b/stream/vcd_read_fbsd.h
index 83afeb542d..47d583643d 100644
--- a/stream/vcd_read_fbsd.h
+++ b/stream/vcd_read_fbsd.h
@@ -48,6 +48,7 @@ vcd_set_msf(mp_vcd_priv_t* vcd, unsigned int sect)
#ifdef VCD_NETBSD
vcd->entry.data = &vcd->entry_data;
#endif
+ sect += 150;
TOCADDR(vcd->entry).msf.frame = sect % 75;
sect = sect / 75;
TOCADDR(vcd->entry).msf.second = sect % 60;
@@ -80,7 +81,7 @@ vcd_get_msf(mp_vcd_priv_t* vcd)
#endif
return TOCADDR(vcd->entry).msf.frame +
(TOCADDR(vcd->entry).msf.second +
- TOCADDR(vcd->entry).msf.minute * 60) * 75;
+ TOCADDR(vcd->entry).msf.minute * 60) * 75 - 150;
}
/**