diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-09-02 19:18:23 +0100 |
|---|---|---|
| committer | cah <cah@ableton.com> | 2019-12-03 11:37:04 +0100 |
| commit | 1754dd52057ec3404163e328ad46e3c9590f2d0f (patch) | |
| tree | f9e85a2819e757c4ebc9cd8bb26ca0a9f8746ffe /src/lib/openjp2 | |
| parent | 531f1a7146baa2f711e76927bc92bc33b053055d (diff) | |
Fix from Aaron to match v1's threshold value.
Diffstat (limited to 'src/lib/openjp2')
| -rw-r--r-- | src/lib/openjp2/tcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/tcd.c b/src/lib/openjp2/tcd.c index b3e789e3..9a80d7ac 100644 --- 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.001; OPJ_UINT32 i; OPJ_FLOAT64 distotarget; /* fixed_quality */ |
