[FFmpeg-cvslog] avutil/timer: give each printed value of STOP_TIMER a fixed length
Michael Niedermayer
git at videolan.org
Fri Mar 27 04:54:33 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Mar 22 16:15:03 2015 +0100| [174330b18e63c212cc024eeca03297a76cdcdfa9] | committer: Michael Niedermayer
avutil/timer: give each printed value of STOP_TIMER a fixed length
this makes the result easier to read
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=174330b18e63c212cc024eeca03297a76cdcdfa9
---
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]));\
More information about the ffmpeg-cvslog
mailing list