ffmpeg: fix printing INT64_MIN pts at the end
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 6 Mar 2014 03:30:07 +0000 (04:30 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 16 Mar 2014 05:26:40 +0000 (06:26 +0100)
Fixes Ticket3427

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index de9af44..e345e41 100644 (file)
--- 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));
     }