diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-22 23:07:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-22 23:18:38 +0200 |
commit | 8428e2c5f37ef873652122be1370b652915f9e4c (patch) | |
tree | 5f0277d168a01f05cafe79cf84f098b5370b472e /libavcodec/jpeg2000dwt.c | |
parent | 19dc1ed4ada333390e8ea12c4e969b916320c67b (diff) | |
download | ffmpeg-8428e2c5f37ef873652122be1370b652915f9e4c.tar.gz |
avcodec/jpeg2000dwt: Print 1 digit less in the 9/7f DWT test
This avoids test failure due to differing rounding between 32 and 64bit x86
Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/jpeg2000dwt.c')
-rw-r--r-- | libavcodec/jpeg2000dwt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dwt.c b/libavcodec/jpeg2000dwt.c index 713678c2de..dde93fe31e 100644 --- a/libavcodec/jpeg2000dwt.c +++ b/libavcodec/jpeg2000dwt.c @@ -693,7 +693,7 @@ static int test_dwtf(float *array, float *ref, uint16_t border[2][2], int decomp } ff_dwt_destroy(s); - printf("9/7f, decomp:%2d border %3d %3d %3d %3d err2:%20.4f\n", + printf("9/7f, decomp:%2d border %3d %3d %3d %3d err2:%20.3f\n", decomp_levels, border[0][0], border[0][1], border[1][0], border[1][1], err2 / ((border[0][1] - border[0][0])*(border[1][1] - border[1][0]))); |