From 5d9827bcf62a543d95ea27469e3e06153f352cda Mon Sep 17 00:00:00 2001 From: Kareila Date: Sat, 26 Oct 2002 19:23:22 +0000 Subject: [PATCH] fixing bitrate display if -acodec copy is used, patch by (Kareila ) Originally committed as revision 1074 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index b712c90da8..d8c7d68a41 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -699,7 +699,7 @@ void print_report(AVFormatContext **output_files, } /* compute min output value */ pts = (double)ost->st->pts.val * os->pts_num / os->pts_den; - if (pts < ti1) + if ((pts < ti1) && (pts > 0)) ti1 = pts; } if (ti1 < 0.01)