Commit 5d9827bc authored by Kareila's avatar Kareila Committed by Michael Niedermayer

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
parent 384855ee
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment