diff stream/vcd_read_darwin.h @ 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 542d4cda34c3
children 5ebab6056efc
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);
 }