~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cd99746
)
dvd-sector-copy.c: Sit for the bad-blocks delay if we get an actual hit.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 26 Mar 2022 14:13:12 +0000
(14:13 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 26 Mar 2022 14:13:12 +0000
(14:13 +0000)
dvd-sector-copy.c
patch
|
blob
|
blame
|
history
diff --git
a/dvd-sector-copy.c
b/dvd-sector-copy.c
index
fe99587
..
f1f6d4e
100644
(file)
--- a/
dvd-sector-copy.c
+++ b/
dvd-sector-copy.c
@@
-323,7
+323,10
@@
static ssize_t read_sectors(secaddr pos, void *buf, secaddr want)
#endif
if (pos < bad->start) { D( printf("high\n"); ) best = bad; hi = mid; }
else if (pos >= bad->end) { D( printf("low\n"); ) lo = mid + 1; }
- else { D( printf("match!\n"); ) errno = EIO; return (-1); }
+ else {
+ D( printf("match!\n"); )
+ errno = EIO; sit(bad_block_delay); return (-1);
+ }
}
#ifdef DEBUG
if (best)