Small bug fix about track size with cdrskin -minfo

This commit is contained in:
Thomas Schmitt 2010-03-17 18:53:28 +00:00
parent b33df8fbd5
commit 9f6d80d87d
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2010.03.10.134802"
#define Cdrskin_timestamP "2010.03.17.185222"