freebsd-ports/sysutils/cdrtools/files/patch-aa
Dirk Froemberg 2124f79666 Fix cdda2wav for ATAPI drives.
Submitted by:	Naoya Nishimura <nishinao@m3.kcn.ne.jp>
2001-11-18 11:50:31 +00:00

11 lines
352 B
Text

--- cdda2wav/ioctl.c.orig Sat Dec 9 23:39:59 2000
+++ cdda2wav/ioctl.c Sun Nov 18 10:38:23 2001
@@ -162,7 +162,7 @@
exit( -1 );
}
for (i = 0; i < tracks; i++) {
- toc[i].dwStartSector = entry[i].cdte_addr.lba;
+ toc[i].dwStartSector = ntohl(entry[i].cdte_addr.lba);
}
bufferTOC[0] = '\0';
bufferTOC[1] = '\0';