changeset 23894:10fb4653c48d

Make the vcd seek and get track end functions actually have an effect
author reimar
date Sun, 29 Jul 2007 14:42:07 +0000
parents 9f48aa42369e
children 5ebab6056efc
files stream/vcd_read_darwin.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/vcd_read_darwin.h	Sun Jul 29 14:35:25 2007 +0000
+++ b/stream/vcd_read_darwin.h	Sun Jul 29 14:42:07 2007 +0000
@@ -56,6 +56,7 @@
 		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 @@
 		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);
 }