diff options
author | wm4 <wm4@nowhere> | 2013-07-15 21:29:25 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-15 21:29:25 +0200 |
commit | 2599729e968b532c7241896920fc5b1df2babe62 (patch) | |
tree | 666bdcfd4712ab71d0e6bbf825286be07179863f /stream | |
parent | 75dc7cbe0c3f8c2e4409f4939309598811d35155 (diff) | |
download | mpv-2599729e968b532c7241896920fc5b1df2babe62.tar.bz2 mpv-2599729e968b532c7241896920fc5b1df2babe62.tar.xz |
stream: remove unused vcd functions
Gets rid of warnings.
Diffstat (limited to 'stream')
-rw-r--r-- | stream/vcd_read.h | 7 | ||||
-rw-r--r-- | stream/vcd_read_darwin.h | 5 | ||||
-rw-r--r-- | stream/vcd_read_fbsd.h | 5 | ||||
-rw-r--r-- | stream/vcd_read_win32.h | 5 |
4 files changed, 0 insertions, 22 deletions
diff --git a/stream/vcd_read.h b/stream/vcd_read.h index 92a9c53b78..fc396c22dc 100644 --- a/stream/vcd_read.h +++ b/stream/vcd_read.h @@ -147,13 +147,6 @@ 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){ #ifndef sun memcpy(vcd->buf,&vcd->entry.cdte_addr.msf,sizeof(struct cdrom_msf)); diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h index 87087e3107..2d8510617c 100644 --- a/stream/vcd_read_darwin.h +++ b/stream/vcd_read_darwin.h @@ -208,11 +208,6 @@ 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) diff --git a/stream/vcd_read_fbsd.h b/stream/vcd_read_fbsd.h index 29dae1762a..c58aae1992 100644 --- a/stream/vcd_read_fbsd.h +++ b/stream/vcd_read_fbsd.h @@ -214,11 +214,6 @@ vcd_read_toc(int fd) return vcd; } -static int vcd_end_track(mp_vcd_priv_t* vcd) -{ - return vcd->tochdr.ending_track; -} - static int vcd_read(mp_vcd_priv_t* vcd, char *mem) { diff --git a/stream/vcd_read_win32.h b/stream/vcd_read_win32.h index 59570881f0..f70e2b5ed3 100644 --- a/stream/vcd_read_win32.h +++ b/stream/vcd_read_win32.h @@ -132,11 +132,6 @@ 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; |