summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/advtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/advtime.c b/src/advtime.c
index 15fbcb7..d118f33 100644
--- a/src/advtime.c
+++ b/src/advtime.c
@@ -164,7 +164,7 @@ main(int argc, char **argv)
if (diff > 40.0) {
dts = vd->fmt_ctx->streams[0]->cur_dts;
- print_time(dts);
+ print_time(prev_dts);
printf(" ");
print_time(dts - prev_dts);
prev_dts = dts;