From d965c3e7bc321400edf8fb9fd8928b7211d5b9c4 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 16 Apr 2008 06:46:54 +0000 Subject: [PATCH] =?UTF-8?q?Print=20duration=20with=20higher=20precision.?= =?UTF-8?q?=20patch=20from=20Herv=C3=A9=20Flores,=20herve.flores=20free=20?= =?UTF-8?q?fr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 12847 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 55b9fba0c0..c4f67c9cab 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2634,8 +2634,8 @@ void dump_format(AVFormatContext *ic, secs %= 60; hours = mins / 60; mins %= 60; - av_log(NULL, AV_LOG_INFO, "%02d:%02d:%02d.%01d", hours, mins, secs, - (10 * us) / AV_TIME_BASE); + av_log(NULL, AV_LOG_INFO, "%02d:%02d:%02d.%02d", hours, mins, secs, + (100 * us) / AV_TIME_BASE); } else { av_log(NULL, AV_LOG_INFO, "N/A"); }