1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

use av_q2d as in the rest of the file

Originally committed as revision 9720 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Beregszaszi 2007-07-17 13:04:22 +00:00
parent f1ea5c2a96
commit 43924f018b

View File

@ -969,7 +969,7 @@ static void print_report(AVFormatContext **output_files,
vid = 1; vid = 1;
} }
/* compute min output value */ /* compute min output value */
pts = (double)ost->st->pts.val * ost->st->time_base.num / ost->st->time_base.den; pts = (double)ost->st->pts.val * av_q2d(ost->st->time_base);
if ((pts < ti1) && (pts > 0)) if ((pts < ti1) && (pts > 0))
ti1 = pts; ti1 = pts;
} }