# HG changeset patch # User uau # Date 1181207830 0 # Node ID d8d1c85dc180f49127abaac96b14c660bc1b3468 # Parent f397d66f6004123e8fb6257fd3d34d6936c01f3d Calculate pts with double precision in demux_asf diff -r f397d66f6004 -r d8d1c85dc180 libmpdemux/demux_asf.c --- 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;