summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authornexus <nexus@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-10 08:34:43 +0000
committernexus <nexus@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-10 08:34:43 +0000
commit916276ab2ccc0c1717d96d0ce4410c7a590b7a71 (patch)
tree605c180079becdb158b2da8a7cab03e039a35b2f /libmpdemux
parent6176c34ff9077bf976cbdf417b9dc3cfbc4c52e3 (diff)
downloadmpv-916276ab2ccc0c1717d96d0ce4410c7a590b7a71.tar.bz2
mpv-916276ab2ccc0c1717d96d0ce4410c7a590b7a71.tar.xz
typo fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9900 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/vcd_read_fbsd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmpdemux/vcd_read_fbsd.h b/libmpdemux/vcd_read_fbsd.h
index cd7449dd4d..1a7837bc6f 100644
--- a/libmpdemux/vcd_read_fbsd.h
+++ b/libmpdemux/vcd_read_fbsd.h
@@ -35,7 +35,7 @@ static inline unsigned int vcd_get_msf(mp_vcd_priv_t* vcd){
int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track){
vcd->entry.address_format = CD_MSF_FORMAT;
vcd->entry.track = track;
- if (ioctl(vcd->fd, CDIOREADTOCENTRY, &vcd_entry)) {
+ if (ioctl(vcd->fd, CDIOREADTOCENTRY, &vcd->entry)) {
mp_msg(MSGT_STREAM,MSGL_ERR,"ioctl dif1: %s\n",strerror(errno));
return -1;
}
@@ -50,7 +50,7 @@ int vcd_get_track_end(mp_vcd_priv_t* vcd, int track){
}
vcd->entry.address_format = CD_MSF_FORMAT;
vcd->entry.track = track<tochdr.ending_track?(track+1):CDROM_LEADOUT;
- if (ioctl(vcd->fd, CDIOREADTOCENTRY, &vcd_entry)) {
+ if (ioctl(vcd->fd, CDIOREADTOCENTRY, &vcd->entry)) {
mp_msg(MSGT_STREAM,MSGL_ERR,"ioctl dif2: %s\n",strerror(errno));
return -1;
}
@@ -93,7 +93,7 @@ mp_vcd_priv_t* vcd_read_toc(int fd){
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)
+ if (pread(vcd->fd,&vcd->buf,VCD_SECTOR_SIZE,vcd_get_msf(vcd)*VCD_SECTOR_SIZE)
!= VCD_SECTOR_SIZE) return 0; // EOF?
vcd->entry.entry.addr.msf.frame++;
@@ -105,7 +105,7 @@ static int vcd_read(mp_vcd_priv_t* vcd,char *mem){
vcd->entry.entry.addr.msf.minute++;
}
}
- memcpy(mem,vcd_buf.data,VCD_SECTOR_DATA);
+ memcpy(mem,vcd->buf.data,VCD_SECTOR_DATA);
return VCD_SECTOR_DATA;
}