summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-04-16 06:46:54 +0000
committerDiego Biurrun <diego@biurrun.de>2008-04-16 06:46:54 +0000
commitd965c3e7bc321400edf8fb9fd8928b7211d5b9c4 (patch)
tree22ccd02918b753740fec7160b4bd9ef6f2be70a5 /libavformat
parent52cb7981e29acbb997fc55d4a7c1ec8b34f67e43 (diff)
downloadffmpeg-d965c3e7bc321400edf8fb9fd8928b7211d5b9c4.tar.gz
Print duration with higher precision.
patch from Hervé Flores, herve.flores free fr Originally committed as revision 12847 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c4
1 files 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");
}