summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-09-02 19:18:23 +0100
committerCarl Hetherington <cth@carlh.net>2020-06-08 00:36:06 +0200
commit5a1e4323f092ccaf992ecd1db51c384bf073fe65 (patch)
tree54202e0d30f534cccd3ca0487243da1f088addd2 /src
parent8369ad7f873748afa2b50a2c41cf5315c181b7f3 (diff)
Fix from Aaron to match v1's threshold value.
Diffstat (limited to 'src')
-rw-r--r--src/lib/openjp2/tcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/tcd.c b/src/lib/openjp2/tcd.c
index bf2d1b17..77e3e0c7 100644
--- a/src/lib/openjp2/tcd.c
+++ b/src/lib/openjp2/tcd.c
@@ -545,7 +545,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.001;
OPJ_UINT32 i;
OPJ_FLOAT64 distotarget; /* fixed_quality */