X-Git-Url: https://git.distorted.org.uk/~mdw/dvdrip/blobdiff_plain/6e7426fe2b39cfc58aec52decefd41f6b8df5241..62fc1b88ef0dc318c1f545ef37a37b71f3f7e43f:/dvd-sector-copy.c diff --git a/dvd-sector-copy.c b/dvd-sector-copy.c index 5caac23..1e4dc07 100644 --- a/dvd-sector-copy.c +++ b/dvd-sector-copy.c @@ -610,7 +610,7 @@ static ssize_t recovery_read(struct recoverybuf *r, #ifdef DEBUG printf(";; read high (%"PRIuSEC"@%"PRIuSEC", %"PRIuSEC")", r->pos + pp, pp, nn); -fflush(stdout); + fflush(stdout); #endif n = recovery_read_sectors(r, pos + pp, pp, nn); #ifdef DEBUG @@ -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); } +#ifdef DEBUG + show_recovery_buffer_map(&r, "returning %zd good sectors at %"PRIuSEC"", + n, good); +#endif return (n); }