From: Mark Wooding Date: Sat, 19 Feb 2022 02:00:28 +0000 (+0000) Subject: dvd-sector-copy.c: Read into the correct part of the buffer. Again. X-Git-Url: https://git.distorted.org.uk/~mdw/dvdrip/commitdiff_plain/69d1ae9dda83cf77000b4939fb0cae0126d5f065?hp=5ae2f450a74784fb90cf7caac4e8fd1f249d67b5 dvd-sector-copy.c: Read into the correct part of the buffer. Again. --- diff --git a/dvd-sector-copy.c b/dvd-sector-copy.c index c98d622..2c461e1 100644 --- a/dvd-sector-copy.c +++ b/dvd-sector-copy.c @@ -634,7 +634,7 @@ static ssize_t recovery_read(struct recoverybuf *r, r->pos + pp, pp, nn); fflush(stdout); #endif - n = recovery_read_sectors(r, pos + pp, pp, nn); + n = recovery_read_sectors(r, r->pos + pp, pp, nn); #ifdef DEBUG printf(" -> %zd\n", n); #endif