changeset 34431:13df2e44dd58

Change a few more pts-related float to double.
author reimar
date Thu, 05 Jan 2012 15:50:17 +0000
parents 7a902ef36e45
children 96469d9632eb
files libmpdemux/demux_ogg.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c	Thu Jan 05 15:48:37 2012 +0000
+++ b/libmpdemux/demux_ogg.c	Thu Jan 05 15:50:17 2012 +0000
@@ -284,7 +284,7 @@
             } else
                 *flags = 1;
             if (vi)
-                *pts = pack->granulepos / (float)vi->rate;
+                *pts = pack->granulepos / (double)vi->rate;
             os->lastsize = blocksize;
             os->lastpos  = pack->granulepos;
         }
@@ -1412,7 +1412,7 @@
     ogg_stream_t *os;
     demux_stream_t *ds;
     ogg_packet op;
-    float rate;
+    double rate;
     int i, sp, first, precision = 1, do_seek = 1;
     vorbis_info *vi = NULL;
     int64_t gp = 0, old_gp;
@@ -1620,7 +1620,7 @@
 {
     ogg_demuxer_t *ogg_d = demuxer->priv;
     ogg_stream_t *os;
-    float rate;
+    double rate;
 
     if (demuxer->video->id >= 0) {
         os = &ogg_d->subs[demuxer->video->id];