X-Git-Url: https://git.distorted.org.uk/~mdw/dvdrip/blobdiff_plain/e0c3a82de1bce18a32f95fba7b22b08b61354111..7f06fa5b1a9a0517c77a5c4f521aaa9d5e6aa786:/dvd-sector-copy.c diff --git a/dvd-sector-copy.c b/dvd-sector-copy.c index 0f2ddb7..f757e49 100644 --- a/dvd-sector-copy.c +++ b/dvd-sector-copy.c @@ -1209,8 +1209,7 @@ int main(int argc, char *argv[]) ev = &eventq.v[i]; switch (ev->ev) { case EV_WRITE: start = ev->pos; f |= f_write; break; - case EV_STOP: - nsectors += ev->pos - start; f &= ~f_write; break; + case EV_STOP: nsectors += ev->pos - start; f &= ~f_write; break; } if (ev->pos >= limit) break; if (f&f_fixup) start = ev->pos;