aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-07-17 13:04:22 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-07-17 13:04:22 +0000
commit43924f018b5e687c4198f602fcfd0ed367bf8779 (patch)
tree96a626ffc80bf3f68b90bcaf78ad36b4e9208b24 /ffmpeg.c
parentf1ea5c2a967125bfd5250e1062f949f5edce75c2 (diff)
downloadffmpeg-43924f018b5e687c4198f602fcfd0ed367bf8779.tar.gz
use av_q2d as in the rest of the file
Originally committed as revision 9720 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 ac52d7a2bb..46e3111031 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -969,7 +969,7 @@ static void print_report(AVFormatContext **output_files,
vid = 1;
}
/* 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))
ti1 = pts;
}