[FFmpeg-cvslog] r24799 - trunk/libavcodec/fft-test.c

mru subversion
Mon Aug 16 22:34:07 CEST 2010


Author: mru
Date: Mon Aug 16 22:34:06 2010
New Revision: 24799

Log:
fft-test: format error output more readably

Modified:
   trunk/libavcodec/fft-test.c

Modified: trunk/libavcodec/fft-test.c
==============================================================================
--- trunk/libavcodec/fft-test.c	Mon Aug 16 16:23:35 2010	(r24798)
+++ trunk/libavcodec/fft-test.c	Mon Aug 16 22:34:06 2010	(r24799)
@@ -186,7 +186,7 @@ static int check_diff(float *tab1, float
     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;
         }



More information about the ffmpeg-cvslog mailing list