Browse Source

Small bug fix about track size with cdrskin -minfo

tags/ZeroEightZero
Thomas Schmitt 10 years ago
parent
commit
9f6d80d87d
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      cdrskin/cdrskin.c
  2. +1
    -1
      cdrskin/cdrskin_timestamp.h

+ 2
- 2
cdrskin/cdrskin.c 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;


+ 1
- 1
cdrskin/cdrskin_timestamp.h View File

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

Loading…
Cancel
Save