Mercurial > mplayer.hg
changeset 23469:d8d1c85dc180
Calculate pts with double precision in demux_asf
author | uau |
---|---|
date | Thu, 07 Jun 2007 09:17:10 +0000 |
parents | f397d66f6004 |
children | 5835f820730f |
files | libmpdemux/demux_asf.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_asf.c Thu Jun 07 03:01:32 2007 +0000 +++ b/libmpdemux/demux_asf.c Thu Jun 07 09:17:10 2007 +0000 @@ -226,9 +226,9 @@ dp=new_demux_packet(len); fast_memcpy(dp->buffer,data,len); if (asf->asf_is_dvr_ms) - dp->pts=time*0.0000001f; + dp->pts=time*0.0000001; else - dp->pts=time*0.001f; + dp->pts=time*0.001; dp->flags=keyframe; // if(ds==demux->video) printf("ASF time: %8d dur: %5d \n",time,dur); dp->pos=demux->filepos;