1
mirror of https://github.com/mpv-player/mpv synced 2024-10-22 08:51:57 +02:00

Make the vcd seek and get track end functions actually have an effect

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23914 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-07-29 14:42:07 +00:00
parent b24ff81246
commit 5bcef8f16b

View File

@ -56,6 +56,7 @@ int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track)
mp_msg(MSGT_STREAM,MSGL_ERR,"ioctl dif1: %s\n",strerror(errno));
return -1;
}
vcd->msf = CDConvertLBAToMSF(entry.trackStartAddress);
return VCD_SECTOR_DATA*vcd_get_msf(vcd);
}
@ -89,6 +90,7 @@ int vcd_get_track_end(mp_vcd_priv_t* vcd, int track)
mp_msg(MSGT_STREAM,MSGL_ERR,"ioctl dif2: %s\n",strerror(errno));
return -1;
}
vcd->msf = CDConvertLBAToMSF(entry.trackStartAddress);
return VCD_SECTOR_DATA*vcd_get_msf(vcd);
}