Browse code

use av_q2d as in the rest of the file

Originally committed as revision 9720 to svn://svn.ffmpeg.org/ffmpeg/trunk

Alex Beregszaszi authored on 2007/07/17 22:04:22
Showing 1 changed files
... ...
@@ -969,7 +969,7 @@ static void print_report(AVFormatContext **output_files,
969 969
             vid = 1;
970 970
         }
971 971
         /* compute min output value */
972
-        pts = (double)ost->st->pts.val * ost->st->time_base.num / ost->st->time_base.den;
972
+        pts = (double)ost->st->pts.val * av_q2d(ost->st->time_base);
973 973
         if ((pts < ti1) && (pts > 0))
974 974
             ti1 = pts;
975 975
     }