avcodec/jpeg2000dwt: Use a tighter check threshold for the 9/7f DWT test
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Jun 2015 21:06:55 +0000 (23:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Jun 2015 21:06:55 +0000 (23:06 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jpeg2000dwt.c

index 4201fc6..713678c 100644 (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;
     }