chiark
/
gitweb
/
~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f49b5c8
)
dvd-sector-copy.c: Order `STOP' before `WRITE'.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 16 Feb 2022 10:08:06 +0000
(10:08 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 16 Feb 2022 10:08:06 +0000
(10:08 +0000)
The bad-block parsers already filter out empty regions, so they won't
cause a problem. And this way we don't reject groups of adjacent bad
blocks, though we don't actually merge them as we probably should.
dvd-sector-copy.c
patch
|
blob
|
blame
|
history
diff --git
a/dvd-sector-copy.c
b/dvd-sector-copy.c
index 1782ee499af5d55c4899ae4fc2f34a12ea1da974..5c09e88a6bdb3a425506b80d5c2233bfb69d662a 100644
(file)
--- a/
dvd-sector-copy.c
+++ b/
dvd-sector-copy.c
@@
-129,7
+129,7
@@
struct file {
DEFVEC(file_v, struct file);
static file_v filetab = VEC_INIT;
-enum { EV_
WRITE, EV_BEGIN, EV_END, EV_STOP
};
+enum { EV_
STOP, EV_BEGIN, EV_END, EV_WRITE
};
struct event {
unsigned char ev, file;
uint32_t pos;