~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd678a4
)
dvd-sector-copy.c (run_length_wanted): Round the initial requirement up.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 8 Apr 2022 16:11:14 +0000
(17:11 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 8 Apr 2022 16:15:17 +0000
(17:15 +0100)
dvd-sector-copy.c
patch
|
blob
|
blame
|
history
diff --git
a/dvd-sector-copy.c
b/dvd-sector-copy.c
index
d29fc50
..
1aa65e5
100644
(file)
--- a/
dvd-sector-copy.c
+++ b/
dvd-sector-copy.c
@@
-608,7
+608,7
@@
static secaddr run_length_wanted(secaddr pos, secaddr badlen, secaddr end)
{
secaddr want;
- want = c
lear_factor*badlen
;
+ want = c
eil(clear_factor*badlen)
;
if (want < clear_min) want = clear_min;
if (want > end - pos) want = end - pos;
if (clear_max && want > clear_max) want = clear_max;