projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
531f1a7
)
Fix from Aaron to match v1's threshold value.
author
Carl Hetherington
<cth@carlh.net>
Sat, 2 Sep 2017 18:18:23 +0000
(19:18 +0100)
committer
cah
<cah@ableton.com>
Tue, 3 Dec 2019 10:37:04 +0000
(11:37 +0100)
src/lib/openjp2/tcd.c
patch
|
blob
|
history
diff --git
a/src/lib/openjp2/tcd.c
b/src/lib/openjp2/tcd.c
index b3e789e3353602f8347c76e323b400356c5f69b1..9a80d7aca0f9bd661544c7003f8dbf429553a0e6 100644
(file)
--- a/
src/lib/openjp2/tcd.c
+++ b/
src/lib/openjp2/tcd.c
@@
-540,7
+540,7
@@
OPJ_BOOL opj_tcd_rateallocate(opj_tcd_t *tcd,
OPJ_FLOAT64 goodthresh = 0;
OPJ_FLOAT64 stable_thresh = 0;
OPJ_FLOAT64 old_thresh = -1;
- const OPJ_FLOAT64 tolerance = 0.01;
+ const OPJ_FLOAT64 tolerance = 0.0
0
1;
OPJ_UINT32 i;
OPJ_FLOAT64 distotarget; /* fixed_quality */