Use starting track 0 for READTOCENTRYS, should be converted
to real starting track in CD driver. Old code assume that starting track is always 1.
This commit is contained in:
parent
1cc4f50e14
commit
2f3cc4bf87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13737
@ -486,7 +486,7 @@ int read_toc_entrys (int len)
|
||||
struct ioc_read_toc_entry t;
|
||||
|
||||
t.address_format = CD_MSF_FORMAT;
|
||||
t.starting_track = 1;
|
||||
t.starting_track = 0;
|
||||
t.data_len = len;
|
||||
t.data = toc_buffer;
|
||||
return ioctl (fd, CDIOREADTOCENTRYS, (char *) &t);
|
||||
|
Loading…
Reference in New Issue
Block a user