Small bug fix about track size with cdrskin -minfo

This commit is contained in:
Thomas Schmitt 2010-03-17 18:53:28 +00:00
rodič b33df8fbd5
revize 9f6d80d87d
2 změnil soubory, kde provedl 3 přidání a 3 odebrání

Zobrazit soubor

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

Zobrazit soubor

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