diff options
Diffstat (limited to 'stream/vcd_read_darwin.h')
-rw-r--r-- | stream/vcd_read_darwin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h index d722b8d65b..4a66b5d823 100644 --- a/stream/vcd_read_darwin.h +++ b/stream/vcd_read_darwin.h @@ -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); } |