Commit 08e1aae5 authored by michaelni's avatar michaelni

fixing bitrate display if -acodec copy is used, patch by (Kareila <cokewench at yahoo dot com>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1074 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f4c5c40e
...@@ -699,7 +699,7 @@ void print_report(AVFormatContext **output_files, ...@@ -699,7 +699,7 @@ void print_report(AVFormatContext **output_files,
} }
/* compute min output value */ /* compute min output value */
pts = (double)ost->st->pts.val * os->pts_num / os->pts_den; pts = (double)ost->st->pts.val * os->pts_num / os->pts_den;
if (pts < ti1) if ((pts < ti1) && (pts > 0))
ti1 = pts; ti1 = pts;
} }
if (ti1 < 0.01) 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