[FFmpeg-cvslog] ffmpeg: fix printing INT64_MIN pts at the end
Michael Niedermayer
git at videolan.org
Sun Mar 16 06:36:59 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Mar 6 04:30:07 2014 +0100| [4d17179b370b01370ca40a3ef641913c284d1cd2] | committer: Michael Niedermayer
ffmpeg: fix printing INT64_MIN pts at the end
Fixes Ticket3427
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d17179b370b01370ca40a3ef641913c284d1cd2
---
ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index de9af44..e345e41 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));
}
More information about the ffmpeg-cvslog
mailing list