diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-05 19:31:55 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-05 19:31:55 +0000 |
commit | d62bef6ee5723c514d281eb3db301d0cea5042cd (patch) | |
tree | 5da664091122efeb61de5a2979338cdc6dcad0a6 /stream/vcd_read.h | |
parent | 151e497922e9a6d38c285898ed6dd0fa78475cdf (diff) | |
download | mpv-d62bef6ee5723c514d281eb3db301d0cea5042cd.tar.bz2 mpv-d62bef6ee5723c514d281eb3db301d0cea5042cd.tar.xz |
Try to fix VCD compilation on non-Linux systems.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31023 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/vcd_read.h')
-rw-r--r-- | stream/vcd_read.h | 5 |
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)); |