1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-29 19:22:48 +00:00

stream: remove unused vcd functions

Gets rid of warnings.
This commit is contained in:
wm4 2013-07-15 21:29:25 +02:00
parent 75dc7cbe0c
commit 2599729e96
4 changed files with 0 additions and 22 deletions

View File

@ -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));

View File

@ -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)

View File

@ -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)
{

View File

@ -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;