summaryrefslogtreecommitdiffstats
path: root/stream/vcd_read_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'stream/vcd_read_win32.h')
-rw-r--r--stream/vcd_read_win32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stream/vcd_read_win32.h b/stream/vcd_read_win32.h
index 3b93a76b0a..0cdaea115f 100644
--- a/stream/vcd_read_win32.h
+++ b/stream/vcd_read_win32.h
@@ -132,6 +132,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->toc.LastTrack;
+}
+
static int vcd_read(mp_vcd_priv_t* vcd, char *mem)
{
DWORD dwBytesReturned;