[FFmpeg-devel] [PATCH 2/2] avutil/timer: give each printed value of STOP_TIMER a fixed length
Michael Niedermayer
michaelni at gmx.at
Sun Mar 22 16:16:17 CET 2015
this makes the result easier to read
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavutil/timer.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/timer.h b/libavutil/timer.h
index f17f76b..e21f655 100644
--- a/libavutil/timer.h
+++ b/libavutil/timer.h
@@ -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]));\
--
1.7.9.5
More information about the ffmpeg-devel
mailing list