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:
parent
75dc7cbe0c
commit
2599729e96
@ -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));
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user