From: Mark Wooding Date: Fri, 18 Feb 2022 23:00:00 +0000 (+0000) Subject: dvd-sector-copy.c: Dump buffer after final recovery. X-Git-Url: https://git.distorted.org.uk/~mdw/dvdrip/commitdiff_plain/9dd5dba092d6187818c2c4b9141f427e657b22d6 dvd-sector-copy.c: Dump buffer after final recovery. --- diff --git a/dvd-sector-copy.c b/dvd-sector-copy.c index 5caac23..d84c996 100644 --- 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); } +#ifdef DEBUG + show_recovery_buffer_map(&r, "returning %zd good sectors at %"PRIuSEC"", + n, good); +#endif return (n); }