mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffmpeg: fix printing INT64_MIN pts at the end
Fixes Ticket3427 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6c47a4e972
commit
4d17179b37
2
ffmpeg.c
2
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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user