Small bug fix about track size with cdrskin -minfo
This commit is contained in:
parent
b33df8fbd5
commit
9f6d80d87d
@ -5276,8 +5276,8 @@ int Cdrskin_minfo(struct CdrskiN *skin, int flag)
|
||||
/* If last two blocks not readable then assume TAO and subtract 2
|
||||
from lra and size.
|
||||
*/;
|
||||
ret= burn_read_data(drive, (off_t) lra * (off_t) 2048, buf, 2 * 2048,
|
||||
&buf_count, 2 | 4);
|
||||
ret= burn_read_data(drive, (off_t) (lra - 1) * (off_t) 2048, buf,
|
||||
2 * 2048, &buf_count, 2 | 4);
|
||||
if(ret <= 0) {
|
||||
lra-= 2;
|
||||
size-= 2;
|
||||
|
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2010.03.10.134802"
|
||||
#define Cdrskin_timestamP "2010.03.17.185222"
|
||||
|
Loading…
Reference in New Issue
Block a user