chiark
/
gitweb
/
~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e7426f
)
dvd-sector-copy.c: Dump buffer after final recovery.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 18 Feb 2022 23:00:00 +0000
(23:00 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 18 Feb 2022 23:00:54 +0000
(23:00 +0000)
dvd-sector-copy.c
patch
|
blob
|
blame
|
history
diff --git
a/dvd-sector-copy.c
b/dvd-sector-copy.c
index 5caac23131087a443ba4574ce0c6eb016a5df40d..d84c996c4ba1dd7eef37bf99546d695f5d69ce89 100644
(file)
--- a/
dvd-sector-copy.c
+++ b/
dvd-sector-copy.c
@@
-717,6
+717,10
@@
static ssize_t find_good_sector(secaddr *pos_inout, secaddr end,
n = r.pos + r.end - good;
rearrange_sectors(&r, 0, good - r.pos, n);
}
n = r.pos + r.end - good;
rearrange_sectors(&r, 0, good - r.pos, n);
}
+#ifdef DEBUG
+ show_recovery_buffer_map(&r, "returning %zd good sectors at %"PRIuSEC"",
+ n, good);
+#endif
return (n);
}
return (n);
}