avcodec/jpeg2000dwt: Use a tighter check threshold for the 9/7f DWT test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-22 23:06:55 +02:00
parent 55219a78c7
commit 19dc1ed4ad

View File

@ -728,7 +728,7 @@ int main(void) {
ret = test_dwt(array, ref, border, decomp_levels, FF_DWT97_INT, FFMIN(7+5*decomp_levels, 15+3*decomp_levels));
if (ret)
return ret;
ret = test_dwtf(arrayf, reff, border, decomp_levels, 1.0);
ret = test_dwtf(arrayf, reff, border, decomp_levels, 0.05);
if (ret)
return ret;
}