changeset 12389:77dfabe0d66f libavcodec

fft-test: format error output more readably
author mru
date Mon, 16 Aug 2010 20:34:06 +0000
parents 908559b5bd7c
children 21133d90ecf2
files fft-test.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fft-test.c	Fri Aug 13 02:02:07 2010 +0000
+++ b/fft-test.c	Mon Aug 16 20:34:06 2010 +0000
@@ -186,7 +186,7 @@
     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;
         }