Commit 19dc1ed4 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 55219a78
...@@ -728,7 +728,7 @@ int main(void) { ...@@ -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)); ret = test_dwt(array, ref, border, decomp_levels, FF_DWT97_INT, FFMIN(7+5*decomp_levels, 15+3*decomp_levels));
if (ret) if (ret)
return 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) if (ret)
return ret; return ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment