diff options
author | Måns Rullgård <mans@mansr.com> | 2010-08-16 20:34:06 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-08-16 20:34:06 +0000 |
commit | ead7ef82518a3994b7c65f61285e529dcb340fba (patch) | |
tree | 14fbccbe2dbc8cf814f567188375bf9349741c4f /libavcodec | |
parent | 51291e60052329b438ea26cbf6baf6ce79e44ad5 (diff) | |
download | ffmpeg-ead7ef82518a3994b7c65f61285e529dcb340fba.tar.gz |
fft-test: format error output more readably
Originally committed as revision 24799 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/fft-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c index 5a1249425e..85282f531a 100644 --- a/libavcodec/fft-test.c +++ b/libavcodec/fft-test.c @@ -186,7 +186,7 @@ static int check_diff(float *tab1, float *tab2, int n, double scale) for (i = 0; i < n; i++) { double e= fabsf(tab1[i] - (tab2[i] / scale)); if (e >= 1e-3) { - av_log(NULL, AV_LOG_ERROR, "ERROR %d: %f %f\n", + av_log(NULL, AV_LOG_ERROR, "ERROR %5d: %10.6f %10.6f\n", i, tab1[i], tab2[i]); err = 1; } |