Mercurial > mplayer.hg
diff libmpdemux/demux_asf.c @ 23469:d8d1c85dc180
Calculate pts with double precision in demux_asf
author | uau |
---|---|
date | Thu, 07 Jun 2007 09:17:10 +0000 |
parents | a124f3abc1ec |
children | 5c980247db1f |
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;