[FFmpeg-cvslog] r9720 - trunk/ffmpeg.c
alex
subversion
Tue Jul 17 15:04:22 CEST 2007
Author: alex
Date: Tue Jul 17 15:04:22 2007
New Revision: 9720
Log:
use av_q2d as in the rest of the file
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Tue Jul 17 15:04:22 2007
@@ -969,7 +969,7 @@ static void print_report(AVFormatContext
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;
}
More information about the ffmpeg-cvslog
mailing list