summaryrefslogtreecommitdiffstats
path: root/stream/vcd_read.h
diff options
context:
space:
mode:
Diffstat (limited to 'stream/vcd_read.h')
-rw-r--r--stream/vcd_read.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stream/vcd_read.h b/stream/vcd_read.h
index 2911186d20..cb4ac21ee6 100644
--- a/stream/vcd_read.h
+++ b/stream/vcd_read.h
@@ -145,6 +145,11 @@ static mp_vcd_priv_t* vcd_read_toc(int fd){
return vcd;
}
+static int vcd_end_track(mp_vcd_priv_t* vcd)
+{
+ return vcd->tochdr.cdth_trk1;
+}
+
static int vcd_read(mp_vcd_priv_t* vcd,char *mem){
#if defined(__linux__) || defined(__bsdi__)
memcpy(vcd->buf,&vcd->entry.cdte_addr.msf,sizeof(struct cdrom_msf));