From 2599729e968b532c7241896920fc5b1df2babe62 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 15 Jul 2013 21:29:25 +0200 Subject: stream: remove unused vcd functions Gets rid of warnings. --- stream/vcd_read.h | 7 ------- stream/vcd_read_darwin.h | 5 ----- stream/vcd_read_fbsd.h | 5 ----- stream/vcd_read_win32.h | 5 ----- 4 files changed, 22 deletions(-) (limited to 'stream') 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; -- cgit v1.2.3