avutil/timer: give each printed value of STOP_TIMER a fixed length
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Mar 2015 15:15:03 +0000 (16:15 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 27 Mar 2015 03:44:58 +0000 (04:44 +0100)
this makes the result easier to read

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/timer.h

index f17f76b..e21f655 100644 (file)
@@ -81,7 +81,7 @@
         if (((tcount + tskip_count) & (tcount + tskip_count - 1)) == 0) { \
             int i;                                                        \
             av_log(NULL, AV_LOG_ERROR,                                    \
-                   "%"PRIu64" " FF_TIMER_UNITS " in %s, %d runs, %d skips",          \
+                   "%7"PRIu64" " FF_TIMER_UNITS " in %s,%8d runs,%7d skips",          \
                    tsum * 10 / tcount, id, tcount, tskip_count);          \
             for (i = 0; i < 32; i++)                                      \
                 av_log(NULL, AV_LOG_VERBOSE, " %2d", av_log2(2*thistogram[i]));\