diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-04-26 18:25:34 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-04-26 18:25:34 +0300 |
commit | 7795726e0f8c70edd6ecde7fd2137214af302f4f (patch) | |
tree | 87a087e69a0e2912183736de409676f824fb2248 /stream/vcd_read_darwin.h | |
parent | ba3b65b92f3f822fa75b0210b841557f5b20f6d1 (diff) | |
parent | e16f02fe4001f3056b8efd1a099a563569b73f5d (diff) | |
download | mpv-7795726e0f8c70edd6ecde7fd2137214af302f4f.tar.bz2 mpv-7795726e0f8c70edd6ecde7fd2137214af302f4f.tar.xz |
Merge svn changes up to r31033
Diffstat (limited to 'stream/vcd_read_darwin.h')
-rw-r--r-- | stream/vcd_read_darwin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h index 20f1782049..927b659871 100644 --- a/stream/vcd_read_darwin.h +++ b/stream/vcd_read_darwin.h @@ -208,6 +208,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->hdr.lastTrackNumberInLastSessionLSB; +} + static int vcd_read(mp_vcd_priv_t* vcd,char *mem) { if (pread(vcd->fd,&vcd->buf,VCD_SECTOR_SIZE,vcd_get_msf(vcd)*VCD_SECTOR_SIZE) != VCD_SECTOR_SIZE) |