summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorKareila <cokewench@yahoo.com>2002-10-26 19:23:22 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-10-26 19:23:22 +0000
commit5d9827bcf62a543d95ea27469e3e06153f352cda (patch)
treefebb6764b9a0050f499cae158646fede7acd549a /ffmpeg.c
parent384855eebf1aed52e6eb8b0e255b933752c681d2 (diff)
fixing bitrate display if -acodec copy is used, patch by (Kareila <cokewench at yahoo dot com>)
Originally committed as revision 1074 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 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)