mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +01: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:
parent
b24ff81246
commit
5bcef8f16b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user