[MPlayer-cvslog] r23489 - trunk/libmpdemux/demux_asf.c

uau subversion at mplayerhq.hu
Thu Jun 7 11:17:10 CEST 2007


Author: uau
Date: Thu Jun  7 11:17:10 2007
New Revision: 23489

Log:
Calculate pts with double precision in demux_asf


Modified:
   trunk/libmpdemux/demux_asf.c

Modified: trunk/libmpdemux/demux_asf.c
==============================================================================
--- trunk/libmpdemux/demux_asf.c	(original)
+++ trunk/libmpdemux/demux_asf.c	Thu Jun  7 11:17:10 2007
@@ -226,9 +226,9 @@ static int demux_asf_read_packet(demuxer
       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;



More information about the MPlayer-cvslog mailing list