Commit 9f6d80d8 authored by Thomas Schmitt's avatar Thomas Schmitt

Small bug fix about track size with cdrskin -minfo

parent b33df8fb
......@@ -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;
......
#define Cdrskin_timestamP "2010.03.10.134802"
#define Cdrskin_timestamP "2010.03.17.185222"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment