X-Git-Url: https://git.distorted.org.uk/~mdw/dvdrip/blobdiff_plain/cd9974671506959cef24a6f7f2b8fce2790653bf..12ade065b04ab2710a7984b695a8644d713c3988:/dvd-sector-copy.c diff --git a/dvd-sector-copy.c b/dvd-sector-copy.c index fe99587..f1f6d4e 100644 --- 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)