# HG changeset patch # User reimar # Date 1325778617 0 # Node ID 13df2e44dd5832bc42e187948120ce034d372d13 # Parent 7a902ef36e4567dac7a77b2937dfaac1c2a09742 Change a few more pts-related float to double. diff -r 7a902ef36e45 -r 13df2e44dd58 libmpdemux/demux_ogg.c --- 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];