summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-06 04:30:07 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-16 06:26:40 +0100
commit4d17179b370b01370ca40a3ef641913c284d1cd2 (patch)
treecc4e36c20db1648e968be9f88f037360ee006489 /ffmpeg.c
parent6c47a4e972485e5f0c812159373f703c6f1d089f (diff)
ffmpeg: fix printing INT64_MIN pts at the end
Fixes Ticket3427 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index de9af44954..e345e410d8 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1280,7 +1280,7 @@ static void print_report(int is_last_report, int64_t timer_start, int64_t cur_ti
vid = 1;
}
/* compute min output value */
- if ((is_last_report || !ost->finished) && ost->st->pts.val != AV_NOPTS_VALUE)
+ if (ost->st->pts.val != AV_NOPTS_VALUE)
pts = FFMAX(pts, av_rescale_q(ost->st->pts.val,
ost->st->time_base, AV_TIME_BASE_Q));
}